Relation
import type { Relation } from "https://googleapis.deno.dev/v1/dataform:v1beta1.ts";
Represents a database relation.
interface Relation {
additionalOptions?: {};
[key: string]: string;
clusterExpressions?: string[];
dependencyTargets?: Target[];
disabled?: boolean;
incrementalTableConfig?: IncrementalTableConfig;
partitionExpirationDays?: number;
partitionExpression?: string;
postOperations?: string[];
preOperations?: string[];
relationDescriptor?: RelationDescriptor;
relationType?:
| "RELATION_TYPE_UNSPECIFIED"
| "TABLE"
| "VIEW"
| "INCREMENTAL_TABLE"
| "MATERIALIZED_VIEW";
requirePartitionFilter?: boolean;
selectQuery?: string;
tags?: string[];
}§Properties
§
additionalOptions?: {}
[src][key: string]: string;
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.
§
incrementalTableConfig?: IncrementalTableConfig
[src]Configures INCREMENTAL_TABLE
settings for this relation. Only set if
relation_type
is INCREMENTAL_TABLE
.
§
relationDescriptor?: RelationDescriptor
[src]Descriptor for the relation and its columns.
§
relationType?: "RELATION_TYPE_UNSPECIFIED" | "TABLE" | "VIEW" | "INCREMENTAL_TABLE" | "MATERIALIZED_VIEW"
[src]The type of this relation.