Skip to main content

datacontract import gcs

Import a data contract from files in Google Cloud Storage.

datacontract import gcs [OPTIONS]
OptionDefaultDescription
--sourceThe location of the files. duckdb reads GCS over the S3-compatible endpoint, so use s3://.
--formatFile format: json, csv, parquet or delta (inferred from the suffix).
--delimiterFor JSON: new_line, array or none. Detected automatically when omitted.
--outputFile path where the Data Contract will be saved. If not provided, it will be printed to stdout.
--ownerThe owner or team responsible for managing the data contract.
--idThe identifier for the data contract.
--debug / --no-debugEnable debug logging
datacontract import gcs --source s3://my-bucket/orders/*.json --output datacontract.yaml

Guide: Import: Google Cloud Storage.