datacontract import gcs
Import a data contract from files in Google Cloud Storage.
datacontract import gcs [OPTIONS]
| Option | Default | Description |
|---|---|---|
--source | — | The location of the files. duckdb reads GCS over the S3-compatible endpoint, so use s3://. |
--format | — | File format: json, csv, parquet or delta (inferred from the suffix). |
--delimiter | — | For JSON: new_line, array or none. Detected automatically when omitted. |
--output | — | File path where the Data Contract will be saved. If not provided, it will be printed to stdout. |
--owner | — | The owner or team responsible for managing the data contract. |
--id | — | The identifier for the data contract. |
--debug / --no-debug | — | Enable debug logging |
datacontract import gcs --source s3://my-bucket/orders/*.json --output datacontract.yaml
Guide: Import: Google Cloud Storage.