Get number of records after a dataset build
Hi Team,
we want to setup a notification where we could get the record count of a dataset after that is build.
can you please help in this
TIA
pritam
Answers
-
Hi pritam003,
You can achieve this with a Scenario that would:
* build your dataset,
* compute its metrics (that should include the number of records),
* retrieve the metric of interest and save it as a Scenario variable (this would likely be done by code using the metrics API: https://doc.dataiku.com/dss/latest/python-api/metrics.html,
* communicate that metric using a Reporter from that Scenario.
Hope this helps!
Best,
Harizo
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,117 Neuron
Much easier to do setting a scenario variable that retrieves the value of the metric. Read this post and the one it links to:
Here is the documentation:
https://doc.dataiku.com/dss/latest/scenarios/variables.html#retrieving-the-value-of-a-metric