Calculate a single metric/check via the Dataiku API

Turribeach
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,160 Neuron
edited July 16 in Product Ideas

Hi,

It is currently not possible to calculate a single metric or check via the Dataiku API while this is possible via the GUI. The following APIs exists:

dataset.compute_metrics()
dataset.run_checks()

but they will calculate all enabled metrics/checks which may take a lot of time. So this idea is to provide an API to allow running a single metric or a single check. Thanks

1
1 votes

Released · Last Updated

As mentioned in the comment below, as of 12.6.0, you can now compute a singular Data Quality rule (and it's underlying metric) via the python API. However, no change has been made to the metrics API, so if you wanted to compute a metric that is not associated with a DQ rule, you'd still need to compute all at once. If you are interested in computing metrics one at a time via the python API, please submit another product idea so we can track that separately.

Comments

Setup Info
    Tags
      Help me…