0 votes
Hi,

 is it possible to set a metrics from a python script instead of DSS calculation? My python script is uploading CSV file into a folder, on top of this folder is a dataset. I have already the record, column count  in the script, so I would like to update these metrics:

'metrics': ['basic:COUNT_COLUMNS',
                'basic:COUNT_FILES',
                'basic:SIZE' ]

Thanks

T
by

1 Answer

0 votes
Best answer
Hello,

By design, this is not possible as metrics computation is managed by DSS. For setting your custom parameters outside of the DSS managed metrics, we recommend setting dataset metadata: https://doc.dataiku.com/dss/latest/publicapi/client-python/datasets.html#dataikuapi.dss.dataset.DSSDataset.set_metadata

Cheers,

Alex
by
selected by
1,324 questions
1,345 answers
1,544 comments
11,895 users

©Dataiku 2012-2018 - Privacy Policy