Snowflake
Job options
Jump to
Snowflake job options:
General job options:
AGGREGATION_PARALLELISM
— editable
AGGREGATION_PARALLELISM
— editableType: integer
Default: 1
(Optional) Only supported when the query contains aggregations. Formally known as "output sharding."
ADD_MISSING_COLUMNS
ADD_MISSING_COLUMNS
Type: Boolean
Default: false
(Optional) When true
, columns that don't exist in the target table are added automatically when encountered.
When false
, you cannot do SELECT *
within the SELECT
statement of your transformation job.
COMMIT_INTERVAL
COMMIT_INTERVAL
Type: <integer> { MINUTE[S] | HOUR[S] | DAY[S] }
Default: RUN_INTERVAL
(Optional) Defines how often the job will commit to Snowflake. If empty, the RUN_INTERVAL
value will be used.
The COMMIT_INTERVAL
value must be bigger and divisible by RUN_INTERVAL
.
CREATE_TABLE_IF_MISSING
CREATE_TABLE_IF_MISSING
Type: Boolean
Default: false
(Optional) When true, the Snowflake table will be created automatically, otherwise the table should already exist.
CUSTOM_INSERT_EXPRESSIONS
CUSTOM_INSERT_EXPRESSIONS
Type: array[(column, expression)]
Default: ()
(Optional) Configure a list of custom expression transformations to apply to the value of each column when inserting unmatched (new) rows. Note this is only used in merge jobs.
Note: You can use {}
as a placeholder for the select statement's mapped value.
Example:
The following example will set the INSERT_TIME column of the target table to the value of CURRENT_TIMESTAMP()
and will add 1
to the value of some_value
when inserting new rows.
CUSTOM_UPDATE_EXPRESSIONS
CUSTOM_UPDATE_EXPRESSIONS
Type: array[(column, expression)]
Default: ()
(Optional) Configure a list of custom expression transformations to apply to the value of each column when updating matched rows. Note this is only used in merge jobs.
Note: You can use {}
as a placeholder for the mapped value from the select statement.
Example:
The following example will set the UPDATE_TIME column of the target table to the value of CURRENT_TIMESTAMP()
and will add 1
to the value of some_value
when updating existing rows.
KEEP_EXISTING_VALUES_WHEN_NULL
KEEP_EXISTING_VALUES_WHEN_NULL
Type: Boolean
Default: false
(Optional) If enabled, updates to the table preserve the previous non-null value. This option is useful if your update events only contain values for modified columns. This works by coalescing the new value with the existing value. If the new value is null the previous value will be preserved. This means that updating values to null
is not supported.
RUN_PARALLELISM
— editable
RUN_PARALLELISM
— editableType: integer
Default: 1
(Optional) Controls how many jobs run in parallel to process a single minute of data from the source table.
Increasing this can lower the end-to-end latency if you have lots of data per minute.
Last updated