Skip to content

[Feature Request]: On data-contract tests, get sample failed test results for downstream consumption #954

@rishabh-oswal-opensc

Description

@rishabh-oswal-opensc

We are looking into the option of using the datacontract-cli [python api's] to run tests defined on our data contracts.
We will also migrate from custom data contracts specifications to ODCS and use the datacontract-cli.

One of the main use cases we want to PoC is to fetch the failing test results defined on a contract and consume it downstream to feed into a dashboard for the owners to look into.

Looking at the source code,

  • We notice that currently this is not supported. Is this something that the team plans to build or is against this feature for some reason ?
  • We also see that the checks are executed using SodaCL under the hood.
    • Soda does provide this feature about collecting failed results here
    • Looking at Soda docs, it seems that it is possible to store failed results for checks executed in python by using CustomSamplers example
  • Storing the failed test results can be optional flag provided by the data contract test command which is then carried over to the Soda checks and added.

Would be great to know what the team thinks about this feature request and have any plans on contributing or collaborating on it.

Please let me know if you have any more questions around this. Happy to discuss.

Thanks,
Rishabh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions