Skip to main content

datacontract import s3

Import a data contract from files in S3.

datacontract import s3 [OPTIONS]
OptionDefaultDescription
--sourceThe S3 location of the files, e.g. s3://my-bucket/orders/*.json.
--formatFile format: json, csv, parquet or delta (inferred from the suffix).
--delimiterFor JSON: new_line, array or none. Detected automatically when omitted.
--endpoint-urlEndpoint of an S3-compatible store, e.g. http://localhost:9000.
--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 s3 --source s3://my-bucket/orders/*.json --output datacontract.yaml

Guide: Import: Amazon S3.