Calculate a single metric/check via the Dataiku API
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
Comments
-
Thanks for the feedback @Turribeach
! Acknowledging receipt and we will let you know here if we move forward with development.Katie
-
Hi @Aymeric
Thanks for following up, yes, you can now compute a singular Data Quality rule (and it's underlying metric) via the python API, see documentation here:
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.
I'm going to mark this product idea as delivered, as it seems the goal was more around checks/rules. If, however, you are still interested in computing metrics one at a time via the python API, please submit another product idea so we can track that separately.
Katie
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,160 Neuron
Thatr's great Katie, that indeed is what we were after! In which version exactly was this new functionality added?
-
@Turribeach apologies for the delay, if you havent already sorted it out, it was released in 12.6.0 :)