Skip to main content

Unload Data from Databend

Databend's COPY INTO command exports data to various file formats and storage locations with flexible formatting options.

Supported File Formats

FormatExample SyntaxPrimary Use Case
Unload Parquet FileFILE_FORMAT = (TYPE = PARQUET)Analytics workloads, efficient storage
Unload CSV FileFILE_FORMAT = (TYPE = CSV)Data exchange, universal compatibility
Unload TSV FileFILE_FORMAT = (TYPE = TSV)Tabular data with comma values
Unload NDJSON FileFILE_FORMAT = (TYPE = NDJSON)Semi-structured data, flexible schemas

Storage Destinations

DestinationExampleWhen to Use
Named StageCOPY INTO my_stage FROM my_tableFor repeated exports to the same location
S3-Compatible StorageCOPY INTO 's3://bucket/path/' FROM my_tableCloud object storage with Amazon S3
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today