Skip to content

RamanDamayeu/odd-great-expectations

 
 

Repository files navigation

OpenDataDiscovery Great Expectations metadata collecting.

PyPI version

Supporting

Feature Supporting
V3 API + +
SqlAlchemyEngine +
PandasEngine +
Great Expectations V2 API - -
Cloud Solution -

odd_great_expectation.action.ODDAction Is a class derived from ValidationAction and can be used in checkpoint actions lists.

How to:

Install odd-great-expectations package

pip install odd-great-expectations

Add action to checkpoint:

name: <CHECKPOINT_NAME>
config_version: 1.0
template_name:
module_name: great_expectations.checkpoint
class_name: Checkpoint
run_name_template: '%Y%m%d-%H%M%S-my-run-name-template'
expectation_suite_name:
batch_request: {}
action_list:
  # other actions
  - name: store_metadata_to_odd 
    action:
      module_name: odd_great_expectations.action
      class_name: ODDAction
      platform_host: <PLATFORM_HOST> # OpenDataDiscovery platform, i.e. http://localhost:8080
      platform_token: <PLATFORM_TOKEN> # OpenDataDiscovery token
      data_source_name: <DATA_SOURCE_NAME> # Unique name for data source, i.e. local_qa_test
evaluation_parameters: {}

Run checkpoint

great_expectations checkpoint run <CHECKPOINT_NAME> 

Check result

Check results on <PLATFORM_HOST> UI.

About

Integration for collecting metadata from Great Expectations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.4%
  • Dockerfile 5.6%