Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I am using version 9 of dataiku and it says dku_flow_variable is not available. How do I access partition labels in dataiku V9?
Hi,
I am on V9 and the below does work for me in the python recipe
assuming mydate is the name of the parition
If your case is different then please share some details so that the community can help.
partid=dataiku.dku_flow_variables["DKU_DST_MYDATE"]
https://doc.dataiku.com/dss/latest/partitions/variables.html#python
I found the error. It works in script but not in notebook.
Yes that is correct.
Partitions only work in a flow.
Hence the variable will only be available to recipes that are run in the flow and will not work on notebook.