Skip to main content

Full Write Strategy

Container for specifying the full write strategy used in Write Components.

FullWriteStrategy

Below are the properties for the FullWriteStrategy. Each property links to the specific details section further down in this page.

PropertyDefaultTypeRequiredDescription
fullYesOptions for handling the output table during a full write operation to a Write Component.

Property Details

Component

A Component is a fundamental building block of a data Flow. Supported Component types include: Read, Transform, Task, Test, and more.

PropertyDefaultTypeRequiredDescription
componentOne of:
  CustomPythonReadComponent
  ApplicationComponent
  AliasedTableComponent
  ExternalTableComponent
  FivetranComponent
YesComponent configuration options.

WriteComponent

PropertyDefaultTypeRequiredDescription
skipboolean
NoBoolean flag indicating whether to skip processing for the Component or not.
retry_strategyNoRetry strategy configuration options for the Component if any exceptions are encountered.
descriptionstring
NoBrief description of what the model does.
metadataNoMeta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
namestringYesThe name of the model
flow_namestring
NoName of the Flow that the Component belongs to.
writeOne of:
  BigQueryWriteComponent
  SnowflakeWriteComponent
  S3WriteComponent
  SFTPWriteComponent
  GcsWriteComponent
  AbfsWriteComponent
  MySQLWriteComponent
  OracleWriteComponent
  PostgresWriteComponent
Yes

AbfsWriteComponent

Component for writing files to an ABFS container.

PropertyDefaultTypeRequiredDescription
dependenciesarray[None]
NoList of dependencies that must complete before this Component runs.
connectionstringYesName of the Connection to use for writing data.
inputYesInput component name.
normalizeboolean
NoBoolean flag indicating if the output column names should be normalized to a standard naming convention when writing.
preserve_caseboolean
NoBoolean flag indicating if the case of the column names should be preserved when writing.
uppercaseboolean
NoBoolean flag indicating if the column names should be transformed to uppercase when writing.
strategyfull:
  mode: drop_and_recreate
Any of:
  snapshot
  FullWriteStrategy
  PartitionedWriteStrategy
NoOptions to use when writing data to file-based Components. When using the snapshot strategy without a name, the Flow run id is used by default as the snapshot name.
read_record_chunk_size100000integer
NoNumber of rows to read from the source. If not set, defaults to 100,000 rows.
target_file_size104857600integer
NoTarget size in bytes of the file to write. If not set, defaults to 100 * (2**20) bytes (100MB).
target_records_per_fileinteger
NoMax number of rows to write to each part file. If not set, will only use the target file size to determine the number of rows to write to each part file. This setting only applies when writing files in partitions. For the snapshot write strategy, it is only used if the path ends with a '/'. For the partitioned write strategy, this setting is always applied.
abfsYes

BigQueryWriteComponent

Component that writes data to a BigQuery table.

PropertyDefaultTypeRequiredDescription
dependenciesarray[None]
NoList of dependencies that must complete before this Component runs.
connectionstringYesName of the Connection to use for writing data.
inputYesInput component name.
normalizeboolean
NoBoolean flag indicating if the output column names should be normalized to a standard naming convention when writing.
preserve_caseboolean
NoBoolean flag indicating if the case of the column names should be preserved when writing.
uppercaseboolean
NoBoolean flag indicating if the column names should be transformed to uppercase when writing.
strategyfull:
  mode: drop_and_recreate
Any of:
  snapshot
  FullWriteStrategy
  IncrementalWriteStrategyWithSchemaChange
  PartitionedWriteStrategyWithSchemaChange
NoResource for write strategy.
pre_sqlAny of:
  string
  array[string]
NoSQL statements to execute before the main write operation. Can be a single SQL statement string or multiple statements as a list of strings.
post_sqlAny of:
  string
  array[string]
NoSQL statements to execute after the main write operation. Can be a single SQL statement string or multiple statements as a list of strings.
bigqueryYes

GcsWriteComponent

Component for writing files to a GCS bucket.

PropertyDefaultTypeRequiredDescription
dependenciesarray[None]
NoList of dependencies that must complete before this Component runs.
connectionstringYesName of the Connection to use for writing data.
inputYesInput component name.
normalizeboolean
NoBoolean flag indicating if the output column names should be normalized to a standard naming convention when writing.
preserve_caseboolean
NoBoolean flag indicating if the case of the column names should be preserved when writing.
uppercaseboolean
NoBoolean flag indicating if the column names should be transformed to uppercase when writing.
strategyfull:
  mode: drop_and_recreate
Any of:
  snapshot
  FullWriteStrategy
  PartitionedWriteStrategy
NoOptions to use when writing data to file-based Components. When using the snapshot strategy without a name, the Flow run id is used by default as the snapshot name.
read_record_chunk_size100000integer
NoNumber of rows to read from the source. If not set, defaults to 100,000 rows.
target_file_size104857600integer
NoTarget size in bytes of the file to write. If not set, defaults to 100 * (2**20) bytes (100MB).
target_records_per_fileinteger
NoMax number of rows to write to each part file. If not set, will only use the target file size to determine the number of rows to write to each part file. This setting only applies when writing files in partitions. For the snapshot write strategy, it is only used if the path ends with a '/'. For the partitioned write strategy, this setting is always applied.
gcsYes

MySQLWriteComponent

Component that writes data to a MySQL table

PropertyDefaultTypeRequiredDescription
dependenciesarray[None]
NoList of dependencies that must complete before this Component runs.
connectionstringYesName of the Connection to use for writing data.
inputYesInput component name.
normalizeboolean
NoBoolean flag indicating if the output column names should be normalized to a standard naming convention when writing.
preserve_caseboolean
NoBoolean flag indicating if the case of the column names should be preserved when writing.
uppercaseboolean
NoBoolean flag indicating if the column names should be transformed to uppercase when writing.
strategyfull:
  mode: drop_and_recreate
Any of:
  snapshot
  FullWriteStrategy
  IncrementalWriteStrategyWithSchemaChange
  PartitionedWriteStrategyWithSchemaChange
NoResource for write strategy.
pre_sqlAny of:
  string
  array[string]
NoSQL statements to execute before the main write operation. Can be a single SQL statement string or multiple statements as a list of strings.
post_sqlAny of:
  string
  array[string]
NoSQL statements to execute after the main write operation. Can be a single SQL statement string or multiple statements as a list of strings.
mysqlYes

OracleWriteComponent

Component that writes data to an Oracle table

PropertyDefaultTypeRequiredDescription
dependenciesarray[None]
NoList of dependencies that must complete before this Component runs.
connectionstringYesName of the Connection to use for writing data.
inputYesInput component name.
normalizeboolean
NoBoolean flag indicating if the output column names should be normalized to a standard naming convention when writing.
preserve_caseboolean
NoBoolean flag indicating if the case of the column names should be preserved when writing.
uppercaseboolean
NoBoolean flag indicating if the column names should be transformed to uppercase when writing.
strategyfull:
  mode: drop_and_recreate
Any of:
  snapshot
  FullWriteStrategy
  IncrementalWriteStrategyWithSchemaChange
  PartitionedWriteStrategyWithSchemaChange
NoResource for write strategy.
pre_sqlAny of:
  string
  array[string]
NoSQL statements to execute before the main write operation. Can be a single SQL statement string or multiple statements as a list of strings.
post_sqlAny of:
  string
  array[string]
NoSQL statements to execute after the main write operation. Can be a single SQL statement string or multiple statements as a list of strings.
oracleYes

PostgresWriteComponent

Component that writes data to a Postgres table

PropertyDefaultTypeRequiredDescription
dependenciesarray[None]
NoList of dependencies that must complete before this Component runs.
connectionstringYesName of the Connection to use for writing data.
inputYesInput component name.
normalizeboolean
NoBoolean flag indicating if the output column names should be normalized to a standard naming convention when writing.
preserve_caseboolean
NoBoolean flag indicating if the case of the column names should be preserved when writing.
uppercaseboolean
NoBoolean flag indicating if the column names should be transformed to uppercase when writing.
strategyfull:
  mode: drop_and_recreate
Any of:
  snapshot
  FullWriteStrategy
  IncrementalWriteStrategyWithSchemaChange
  PartitionedWriteStrategyWithSchemaChange
NoResource for write strategy.
pre_sqlAny of:
  string
  array[string]
NoSQL statements to execute before the main write operation. Can be a single SQL statement string or multiple statements as a list of strings.
post_sqlAny of:
  string
  array[string]
NoSQL statements to execute after the main write operation. Can be a single SQL statement string or multiple statements as a list of strings.
postgresYes

S3WriteComponent

Component for writing files to an S3 bucket.

PropertyDefaultTypeRequiredDescription
dependenciesarray[None]
NoList of dependencies that must complete before this Component runs.
connectionstringYesName of the Connection to use for writing data.
inputYesInput component name.
normalizeboolean
NoBoolean flag indicating if the output column names should be normalized to a standard naming convention when writing.
preserve_caseboolean
NoBoolean flag indicating if the case of the column names should be preserved when writing.
uppercaseboolean
NoBoolean flag indicating if the column names should be transformed to uppercase when writing.
strategyfull:
  mode: drop_and_recreate
Any of:
  snapshot
  FullWriteStrategy
  PartitionedWriteStrategy
NoOptions to use when writing data to file-based Components. When using the snapshot strategy without a name, the Flow run id is used by default as the snapshot name.
read_record_chunk_size100000integer
NoNumber of rows to read from the source. If not set, defaults to 100,000 rows.
target_file_size104857600integer
NoTarget size in bytes of the file to write. If not set, defaults to 100 * (2**20) bytes (100MB).
target_records_per_fileinteger
NoMax number of rows to write to each part file. If not set, will only use the target file size to determine the number of rows to write to each part file. This setting only applies when writing files in partitions. For the snapshot write strategy, it is only used if the path ends with a '/'. For the partitioned write strategy, this setting is always applied.
s3Yes

SFTPWriteComponent

Component for writing files to an SFTP server.

PropertyDefaultTypeRequiredDescription
dependenciesarray[None]
NoList of dependencies that must complete before this Component runs.
connectionstringYesName of the Connection to use for writing data.
inputYesInput component name.
normalizeboolean
NoBoolean flag indicating if the output column names should be normalized to a standard naming convention when writing.
preserve_caseboolean
NoBoolean flag indicating if the case of the column names should be preserved when writing.
uppercaseboolean
NoBoolean flag indicating if the column names should be transformed to uppercase when writing.
strategyfull:
  mode: drop_and_recreate
Any of:
  snapshot
  FullWriteStrategy
  PartitionedWriteStrategy
NoOptions to use when writing data to file-based Components. When using the snapshot strategy without a name, the Flow run id is used by default as the snapshot name.
read_record_chunk_size100000integer
NoNumber of rows to read from the source. If not set, defaults to 100,000 rows.
target_file_size104857600integer
NoTarget size in bytes of the file to write. If not set, defaults to 100 * (2**20) bytes (100MB).
target_records_per_fileinteger
NoMax number of rows to write to each part file. If not set, will only use the target file size to determine the number of rows to write to each part file. This setting only applies when writing files in partitions. For the snapshot write strategy, it is only used if the path ends with a '/'. For the partitioned write strategy, this setting is always applied.
sftpYes

SnowflakeWriteComponent

Component that writes data to a Snowflake table.

PropertyDefaultTypeRequiredDescription
dependenciesarray[None]
NoList of dependencies that must complete before this Component runs.
connectionstringYesName of the Connection to use for writing data.
inputYesInput component name.
normalizeboolean
NoBoolean flag indicating if the output column names should be normalized to a standard naming convention when writing.
preserve_caseboolean
NoBoolean flag indicating if the case of the column names should be preserved when writing.
uppercaseboolean
NoBoolean flag indicating if the column names should be transformed to uppercase when writing.
strategyfull:
  mode: drop_and_recreate
Any of:
  snapshot
  FullWriteStrategy
  IncrementalWriteStrategyWithSchemaChange
  PartitionedWriteStrategyWithSchemaChange
NoResource for write strategy.
pre_sqlAny of:
  string
  array[string]
NoSQL statements to execute before the main write operation. Can be a single SQL statement string or multiple statements as a list of strings.
post_sqlAny of:
  string
  array[string]
NoSQL statements to execute after the main write operation. Can be a single SQL statement string or multiple statements as a list of strings.
snowflakeYes

FullWriteStrategyOptions

Resource options for full writes, including mode selection.

PropertyDefaultTypeRequiredDescription
modeYesStrategy for handling the output table during a full write operation. 'drop_and_recreate' will drop the output table and recreate it.

FullWriteModeEnum

No properties defined.