Skip to main content
Define the expected schemas in a data contract and test your datasets against defined contracts.

Defining a data contract

Peliqan supports the open source data contract standard defined by Paypal: https://github.com/paypal/data-contract-template Here is a very simple example in YAML format, with many properties omitted:

Testing a dataset for compliance with a data contract

Once you have defined a data contract, you can use a script to test one or more tables for compliance with the given contract. Here is a simplified end-to-end example: When the test fails, you could send out an alert to e.g. a channel in Slack: Click here for more info on the Slack connector