Export: Great Expectations
Transforms a data contract into a comprehensive Great Expectations JSON suite. If the contract includes multiple models, specify the model with --schema-name.
datacontract export great-expectations datacontract.yaml --schema-name orders
The export builds expectations from the model definition (with a fixed mapping) and from the quality rules of each model (see the expectations gallery).
Additional options
suite_name— the name of the expectation suite. Defaults to a name derived from the model name(s).engine— the execution engine:pandas(in-memory dataframes),spark(Spark dataframes), orsql(SQL databases).sql_server_type— the SQL server type to connect with whenengineissql. Ensures the correct SQL dialect and connection settings are applied.