Create id for each run
Kevin_dataiku8
Registered Posts: 15 ✭
Hello to all,
I write to you to know if it is possible to create an id for each run (increment of a number for example for each run: 1, 2, 3 )
Indeed, I created in my dataset a now() column which allows me to have a date on each run. The goal is to create a number that I increment to make it easier to find the last version.
If you have an idea, I'm interested, thanks a lot
Best Answer
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi,
You could add a "version" column reading project variables and incrementing with one each time.
IN preparing a recipe for example add a formula with variables["run_version"] + 1
To increment this, you would need to run via a scenario and set the variable value to current ["run_version"] + 1
Thanks
Answers
-
Dear AlexT,
Thank you very much !!