Destinations
Destinations write results. Each destination has a type, a provider, settings (same connection model as sources), and a list of outputs - one write target each, reading from a build or transform.
At a glance
- Six types -
file_system,object_storage,jdbc,nosql,stream,api. - Outputs are the unit of write - each reads a
builds.*ortransforms.*frame. - Control the layout - partitioning strategies and per-format write options.
- Every output records lineage - a 5-row sample and a row count.
Common shape
Code
Provider matrix
| Destination type | Providers |
|---|---|
file_system | local, sftp, onedrive, sharepoint |
object_storage | s3, minio, gcs, azure_blob |
jdbc | postgres, mysql, mssql, oracle |
nosql | mongodb, cassandra, dynamodb, cosmosdb, hbaseelasticsearch, solr, firestore, rethinkdb, couchdb |
stream | kafka, redis, activemq |
api | rest |
Reference by type
Every connection field, settings option, output field, output option, partitioning strategy, and file-format option is listed per type:
| Type | Reference |
|---|---|
file_system | File system destinations |
object_storage | Object storage destinations |
jdbc | JDBC destinations |
nosql | NoSQL destinations |
stream | Stream destinations |
api | API destinations |
Outputs
| Field | Used by | Purpose |
|---|---|---|
name | all | Output name (part of the stage FQN) |
from | all | A builds.* or transforms.* FQN |
mode | all | overwrite, append, upsert - allowed set varies |
format | file, object | csv, json, parquet, orc, text, excel, avro |
path / subpath | file / object | Output folder |
table | jdbc, nosql | Target table or collection |
keys | jdbc | Upsert keys (required for mode: upsert) |
catalog | hbase | HBase catalog |
topic / stream / queue | stream | Kafka topic / Redis stream / ActiveMQ queue or topic |
url, method | api | REST call (POST/PUT/DELETE) |
partitioning | file, object | Output layout (see below) |
options | all | Per-provider and per-format write options |
Allowed modes per type:
| Type | Modes |
|---|---|
file_system, object_storage, nosql | overwrite, append |
jdbc | overwrite, append, upsert |
stream | append, update |
api | append |
By destination type
file_system
Writes files to local disk, SFTP, OneDrive, or SharePoint. Outputs need format + mode + path. The text format flattens all columns to one string column; excel writes sheets via the crealytics connector; OneDrive/SharePoint write to a temp dir and upload through the Graph API. Format options include compression (snappy, gzip, bzip2, …), header, delimiter, date_format and friends.
object_storage
Writes to S3, MinIO, GCS, or Azure Blob. The output path is built from settings: {protocol}://{bucket}/{path}{subpath} (default subpath: /). Provider settings options map to Hadoop write configs (fs.s3a.*, fs.gs.*, fs.azure.*).
jdbc
Writes to PostgreSQL, MySQL, MSSQL, or Oracle. Outputs need table + mode. mode: upsert also requires keys - the upsert key columns. Useful options: batch_size (default 1000), isolation_level, truncate, cascade_truncate, create_table_options, create_table_column_types.
nosql
Writes to ten NoSQL stores. Outputs need table (+ catalog for HBase). Per-provider options are schema-validated - e.g. MongoDB: operation_type (insert/replace/update), upsert_document, id_field_list, max_batch_size (512); Cassandra: batch_size, concurrent_writes, consistency_level, ttl, if_not_exists; Elasticsearch: write_operation, mapping_id; Solr: batch_size, commit_within, generate_unique_key; HBase: bulk_load and staging directory options.
stream
Writes to Kafka topics, Redis streams, or ActiveMQ queues/topics. Outputs need mode and the target (topic, stream, or queue - ActiveMQ accepts queue or topic). Options: value_format (auto, json, message, value) and Kafka key_column/include_headers; ActiveMQ adds batch_size, persistent, time_to_live_ms.
api (REST)
Writes rows as HTTP calls - url + method (POST/PUT/DELETE), mode: append only:
Code
request_mode: per_row makes one call per row with {{column}} placeholders resolved in url, headers, and params; batch sends arrays of batch_size rows.
Partitioning strategies
File and object outputs can control the file layout:
| Strategy | Purpose |
|---|---|
default | Spark's natural layout |
single_file | Coalesce to one file |
fixed_files_count | Repartition to N files (files_count) |
rows_per_file | N rows per file |
partition_by | Folder hierarchy by columns |
time_bucket | Folder by time (year, month, day, hour, minute) |
block_size | Size-based splits (size_kb) |
Streaming outputs
In mode: stream, outputs write micro-batch by micro-batch with per-output options:
| Option | Values | Default |
|---|---|---|
output_mode | append, update, complete | append |
trigger_interval | e.g. "10 seconds" | - |
checkpoint_location | custom dir | auto-placed |
query_name | monitoring name | auto-generated |
complete is coerced to append on the micro-batch write path. By default checkpoints land under the checkpoints dir as {pipeline}_{dest}_{output}_chk (or the object-storage equivalent) - see Checkpoints and Offsets.
Every output stage records a 5-row Parquet sample and a row count as lineage. Row counts are in GET /api/pipelines/{pipelineId}/runs/{runId}/stages; the sample rows come from GET /api/pipelines/{pipelineId}/runs/{runId}/stages/{stageName}/lineage/data.
Related pages
- Pipeline Spec Overview - the full spec model
- Sources - the connection model works the same way
- Transforms - the frames outputs read from
- Execution Settings - Spark resources per run