Skip to main content

datacontract import s3

Import a data contract from files in S3.

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

Guide: Import: Amazon S3.