Data FlowData Flow
DataFlow
  • User Manual
  • Developer Manual
  • Examples
  • API Reference
Overview
Getting Started
Pipeline Authoring
    Pipeline Spec OverviewConnections
    Sources
    Transforms
    Destinations
      DestinationsFile System DestinationsObject Storage DestinationsJDBC DestinationsNoSQL DestinationsStream DestinationsAPI Destinations
    Execution Settings
Execution
Deployment
Troubleshooting
Examples
Destinations

Object Storage Destinations

Object storage destinations write files to S3, MinIO, GCS, or Azure Blob.

Providers: s3 | minio | gcs | azure_blob

Output fields

Every output in this type carries these fields; provider and format values live under options.

FieldTypeDefaultNotes
name (required)string--
mode (required)overwrite or append--
from (required)string--
subpathstring--
format (required)csv or json or orc or parquet or text or excel--

Minimal example

A complete object_storage destination with one output, written for provider s3:

Code
destinations: - name: orders type: object_storage provider: s3 # Reuse a saved connection instead of the fields below: # connection_name: <name> settings: bucket: <bucket> path: <path> auth: access_key: <access_key> secret_key: <secret_key> region: <region> outputs: - name: orders_output from: <from> format: parquet mode: overwrite

Providers

s3

An example for provider s3:

Code
destinations: - name: orders type: object_storage provider: s3 # Reuse a saved connection instead of the fields below: # connection_name: <name> settings: bucket: <bucket> path: <path> auth: access_key: <access_key> secret_key: <secret_key> region: <region> outputs: - name: orders_output from: <from> format: parquet mode: overwrite

Connection

Use settings.connection_name for a saved connection, or configure it inline:

FieldTypeDefaultNotes
protocols3a or s3n or s3s3aS3 access protocol (e.g., s3a or s3n).
bucket (required)string-S3 bucket name.
path (required)string-S3 bucket path (e.g., /path-inside-bucket/).
auth (required)object--
auth.access_key (required)string-S3 access key.
auth.secret_key (required)string-S3 secret key.
auth.region (required)string-AWS region (required for AWS S3, ignored for MinIO/R2).

Settings options

settings.options:

FieldTypeDefaultNotes
endpoint_regionstring-Region hint for the endpoint/bucket. Useful for some private endpoints or when endpoint parsing is not reliable. Maps to fs.s3a.endpoint.region.
connection_maximuminteger-Maximum number of simultaneous S3 connections. Minimum: 1. Maps to fs.s3a.connection.maximum.
threads_maxinteger-Maximum number of threads for S3A operations. Minimum: 1. Maps to fs.s3a.threads.max.
multipart_sizeinteger-Minimum part size for multipart uploads (bytes). Minimum: 0. Maps to fs.s3a.multipart.size.
fast_uploadbooleantrueEnable fast upload mechanism for writes to S3. Maps to fs.s3a.fast.upload.
fast_upload_bufferdisk or array or bytebufferdiskBuffer type used for fast upload. Maps to fs.s3a.fast.upload.buffer.

minio

An example for provider minio:

Code
destinations: - name: orders type: object_storage provider: minio # Reuse a saved connection instead of the fields below: # connection_name: <name> settings: url: s3a://<bucket>/orders bucket: <bucket> path: <path> auth: access_key: <access_key> secret_key: <secret_key> outputs: - name: orders_output from: <from> format: parquet mode: overwrite

Connection

Use settings.connection_name for a saved connection, or configure it inline:

FieldTypeDefaultNotes
url (required)string-Custom S3 endpoint (MinIO, R2, Ceph). Omit for AWS S3.
protocols3a or s3n or s3 or minios3aAccess protocol (e.g., s3a, s3n, or minio).
bucket (required)string-S3/MinIO bucket name.
path (required)string-S3/MinIO bucket path (e.g., /path-inside-bucket/).
auth (required)object--
auth.access_key (required)string-S3/MinIO access key.
auth.secret_key (required)string-S3/MinIO secret key.
auth.regionstring-Optional AWS region (required for AWS S3, ignored for MinIO/R2).

Settings options

settings.options:

FieldTypeDefaultNotes
endpoint_regionstring-Region hint for the endpoint/bucket. Useful for some private endpoints or when endpoint parsing is not reliable. Maps to fs.s3a.endpoint.region.
connection_maximuminteger-Maximum number of simultaneous S3 connections. Minimum: 1. Maps to fs.s3a.connection.maximum.
threads_maxinteger-Maximum number of threads for S3A operations. Minimum: 1. Maps to fs.s3a.threads.max.
multipart_sizeinteger-Minimum part size for multipart uploads (bytes). Minimum: 0. Maps to fs.s3a.multipart.size.
fast_uploadbooleantrueEnable fast upload mechanism for writes to S3. Maps to fs.s3a.fast.upload.
fast_upload_bufferdisk or array or bytebufferdiskBuffer type used for fast upload. Maps to fs.s3a.fast.upload.buffer.

gcs

An example for provider gcs:

Code
destinations: - name: orders type: object_storage provider: gcs # Reuse a saved connection instead of the fields below: # connection_name: <name> settings: bucket: <bucket> path: <path> auth: service_account_json: <service_account_json> outputs: - name: orders_output from: <from> format: parquet mode: overwrite

Connection

Use settings.connection_name for a saved connection, or configure it inline:

FieldTypeDefaultNotes
protocolgsgsGCS access protocol (e.g., gs).
bucket (required)string-GCS bucket name.
path (required)string-GCS bucket path (e.g., /path-inside-bucket/).
auth (required)object-Authentication configs for Google Cloud Storage.
auth.service_account_json (required)string-Inline GCP service account JSON.

Settings options

settings.options:

FieldTypeDefaultNotes
project_idstring-Google Cloud Project ID used for GCS access. Maps to fs.gs.project.id.
working_dirstring/Default working directory for gs:// URIs. Maps to fs.gs.working.dir.
auth_typeAPPLICATION_DEFAULT or COMPUTE_ENGINE or SERVICE_ACCOUNT_JSON_KEYFILE or UNAUTHENTICATEDSERVICE_ACCOUNT_JSON_KEYFILEAuthentication mechanism used to access GCS. Maps to fs.gs.auth.type.
service_account_keyfilestring-Path to service account JSON keyfile. Maps to fs.gs.auth.service.account.json.keyfile.
block_sizeinteger67108864Reported filesystem block size (bytes). Maps to fs.gs.block.size.
outputstream_buffer_sizeinteger8388608Write buffer size for output streams (bytes). Maps to fs.gs.outputstream.buffer.size.
upload_chunk_sizeinteger25165824Upload chunk size for write operations (bytes). Maps to fs.gs.outputstream.upload.chunk.size.
batch_threadsinteger15Number of threads for parallel GCS operations. Minimum: 1. Maps to fs.gs.batch.threads.
proxy_addressstring-HTTP proxy address in host format. Maps to fs.gs.proxy.address.
proxy_usernamestring-Proxy username. Maps to fs.gs.proxy.username.
proxy_passwordstring-Proxy password. Maps to fs.gs.proxy.password.
requester_pays_modeDISABLED or AUTO or CUSTOM or ENABLEDDISABLEDRequester Pays mode. Maps to fs.gs.requester.pays.mode.
requester_pays_project_idstring-Billing project for Requester Pays. Maps to fs.gs.requester.pays.project.id.
requester_pays_bucketsarray of string-Buckets enabled for Requester Pays when CUSTOM mode is used. Maps to fs.gs.requester.pays.buckets.

azure_blob

An example for provider azure_blob:

Code
destinations: - name: orders type: object_storage provider: azure_blob # Reuse a saved connection instead of the fields below: # connection_name: <name> settings: container: <container> path: <path> auth: account_name: <account_name> account_key: <account_key> outputs: - name: orders_output from: <from> format: parquet mode: overwrite

Connection

Use settings.connection_name for a saved connection, or configure it inline:

FieldTypeDefaultNotes
protocolwasbs or wasb or abfs or abfsswasbsAzure Blob access protocol (e.g., wasbs, wasb for Blob Storage or abfs, abfss for ADLS Gen2).
endpointstring-Optional Azure Blob service endpoint override, e.g. http://azurite:10000/devstoreaccount1. When omitted, the standard Azure endpoint is used.
container (required)string-Azure Blob container name e.g. blobdataflow20260406.
path (required)string-Azure Blob container path e.g. /path-inside-container/.

auth is one of:

Account Key Authentication

FieldTypeDefaultNotes
account_name (required)string-Azure storage account name e.g. testfiles98.
account_key (required)string-Azure storage account key e.g. account_key.

SAS Token Authentication

FieldTypeDefaultNotes
sas_token (required)string-Azure storage SAS token e.g. ?sv=2020-08-04&ss=b&srt=sco&sp=rlx&se=2022-12-31T23:59:59Z&st=2021-01-01T00:00:00Z&spr=https&sig=signature.

Settings options

settings.options:

FieldTypeDefaultNotes
write_request_sizeinteger-Write request size for Azure Blob Storage (bytes). Minimum: 0. Maps to fs.azure.write.request.size.
block_blob_compaction_dirsstring-Comma-separated list of directories where block blob compaction is enabled. Maps to fs.azure.block.blob.with.compaction.dir.
page_blob_dirsstring-Comma-separated list of directories that should use page blobs. Maps to fs.azure.page.blob.dir.
page_blob_sizeinteger-Initial page blob size (bytes). Must be >= 128MB. Minimum: 134217728. Maps to fs.azure.page.blob.size.
page_blob_extension_sizeinteger-Page blob extension size (bytes). Must be >= 128MB. Minimum: 134217728. Maps to fs.azure.page.blob.extension.size.
enable_append_supportbooleanfalseEnable Append API support (single-writer semantics required). Maps to fs.azure.enable.append.support.
atomic_rename_dirsstring-Comma-separated list of directories where rename operations are atomic. Maps to fs.azure.atomic.rename.dir.
delete_threadsinteger-Number of threads used for parallel delete operations. Minimum: 1. Maps to fs.azure.delete.threads.
rename_threadsinteger-Number of threads used for parallel rename operations. Minimum: 1. Maps to fs.azure.rename.threads.
user_agent_prefixstring-Custom prefix for Azure Blob Storage User-Agent header. Maps to fs.azure.user.agent.prefix.

Streaming query options

These apply to every output in a streaming pipeline:

FieldTypeDefaultNotes
output_modeappend or complete or updateappendOutput mode of the streaming query. append: only new rows; complete: full result table; update: only updated rows (since 2.0). Maps to outputMode.
trigger_intervalstring-Trigger interval for processing (e.g. '10 seconds', '1 minute'). When set, uses Trigger.ProcessingTime(interval). Maps to triggerInterval.
checkpoint_locationstring-Optional custom checkpoint directory. When not set, a default under /app/data/spark-checkpoints/ is used. Maps to checkpointLocation.
query_namestring-Name for the streaming query (for monitoring and debugging). Maps to queryName.

File format options

An output's options depend on its format:

csv

Valid options for CSV output operations based on Spark CSV data source version 3.5.1

FieldTypeDefaultNotes
delimiterstring-Sets the single character used for separating fields.
encodingstring-For reading, decodes the CSV files by the given encoding type. For writing, specifies encoding (charset) of saved CSV files.
quotestring-Sets the single character used for escaping quoted values.
quote_allboolean-Indicates whether all values should always be enclosed in quotes. Maps to quoteAll.
escapestring-Sets the single character used for escaping quotes inside an already quoted value.
escape_quotesboolean-Indicates whether values containing quotes should always be enclosed in quotes. Maps to escapeQuotes.
headerbooleantrueUses the first line as names of columns. Default: false.
ignore_leading_white_spaceboolean-Indicates whether leading whitespaces should be ignored. Maps to ignoreLeadingWhiteSpace.
ignore_trailing_white_spaceboolean-Indicates whether trailing whitespaces should be ignored. Maps to ignoreTrailingWhiteSpace.
null_valuestring-Sets the string representation of a null value. Maps to nullValue.
date_formatstring-Sets the string that indicates a date format. Maps to dateFormat.
timestamp_formatstring-Sets the string that indicates a timestamp format. Maps to timestampFormat.
timestamp_without_timezone_formatstring-Sets the string that indicates a timestamp without time zone format. Maps to timestampNTZFormat.
char_to_escape_quote_escapingstring-Sets the character to escape quote escaping. Maps to charToEscapeQuoteEscaping.
empty_valuestring-Sets the string representation of an empty value. Maps to emptyValue.
line_separatorstring-Defines the line separator that should be used for writing. Maps to lineSep.
compressionnone or bzip2 or deflate or gzip or lz4 or snappy or zstd-Compression codec to use when saving to file. Default: none.

excel

Valid options for writing Excel files via crealytics spark-excel

FieldTypeDefaultNotes
headerbooleantrueWrite the first row as column names.
data_addressstring-Cell address or range where to write (e.g. "'My Sheet'!A1"). Used with append mode for multiple sheets. Maps to dataAddress.
treat_empty_values_as_nullsboolean-When true, empty values are treated as null. Maps to treatEmptyValuesAsNulls.
date_formatstring-Format string for date columns. Maps to dateFormat.
timestamp_formatstring-Format string for timestamp columns. Maps to timestampFormat.
use_plain_number_formatbooleanfalseWhen true, write numbers without rounding or scientific notation. Maps to usePlainNumberFormat.
max_rows_in_memoryinteger-Maximum number of rows to write in memory. When set, it uses a streaming writer which can help with big files. Maps to maxRowsInMemory.

json

Valid options for JSON output operations based on Spark JSON data source version 3.5.1

FieldTypeDefaultNotes
compressionnone or bzip2 or deflate or gzip or lz4 or snappy or zstd-Compression codec to use when saving to file. Default: none.
date_formatstring-Sets the string that indicates a date format. Default is "yyyy-MM-dd". Maps to dateFormat.
encodingstring-Specifies encoding (charset) of saved JSON files.
ignore_null_fieldsboolean-Whether to ignore null fields when generating JSON objects. Default: false. Maps to ignoreNullFields.
line_separatorstring-Defines the line separator that should be used for writing. Maps to lineSep.
timestamp_formatstring-Sets the string that indicates a timestamp format. Default is "yyyy-MM-dd'T'HH:mm.SSS[XXX]". Maps to timestampFormat.
timestamp_without_timezone_formatstring-Sets the string that indicates a timestamp without time zone format. Default is "yyyy-MM-dd'T'HH:mm.SSS". Maps to timestampNTZFormat.
time_zonestring-Sets the string that indicates a time zone ID to be used to format timestamps. Maps to timeZone.

orc

Valid options for ORC output operations based on Spark ORC data source version 3.5.1

FieldTypeDefaultNotes
compressionnone or snappy or zlib or lzo or zstd or lz4-Compression codec to use when saving to file. This will override orc.compress and spark.sql.orc.compression.codec. Default: snappy.

parquet

Valid options for Parquet output operations based on Spark Parquet data source version 3.5.1

FieldTypeDefaultNotes
compressionnone or uncompressed or snappy or gzip or lzo or brotli or lz4 or zstd-Compression codec to use when saving to file. Default: snappy.
block_sizeinteger-The size of the block to write to the file (bytes). Default: 134217728 (128 MB). Maps to parquet.block.size.

text

Valid options for Text output operations based on Spark Text data source version 3.5.1

FieldTypeDefaultNotes
compressionnone or bzip2 or deflate or gzip or lz4 or snappy or zstd-Compression codec to use when saving to file. Default: none.
line_separatorstring-Defines the line separator that should be used for writing. Default is \n. Maps to lineSep.

avro

Valid options for Avro output operations based on Spark Avro data source version 3.5.1

FieldTypeDefaultNotes
compressionuncompressed or snappy or deflate or bzip2 or xz or zstandard-Compression codec to use when saving to Avro file. Default: snappy.
record_namestring-Top level record name in write result. Default: topLevelRecord. Maps to recordName.
record_namespacestring-Record namespace in write result. Default: empty string. Maps to recordNamespace.

Related pages

  • Destinations
  • Connections
  • Pipeline Spec Overview
  • API Reference
Suggest edit
Last modified on November 26, 2026
File System DestinationsJDBC Destinations
On this page
  • Output fields
  • Minimal example
  • Providers
    • s3
    • minio
    • gcs
    • azure_blob
  • Streaming query options
  • File format options
    • csv
    • excel
    • json
    • orc
    • parquet
    • text
    • avro
  • Related pages
YAML
YAML
YAML
YAML
YAML