Subset Partitions (Date) to Non-Partitioned (Error: Illegal time partitioning value)
![saulleon](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar8.png)
Hello Dataikers!
Why this doesn't work:
But this does:
Thanks in advance,
Saul
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,211 Dataiker
Hi @saulleon
I was able to reproduce this behavior. I'll log so we can hopefully improve this in the future.One solution for now is to split it into multiple variables
${var1},${var2},${var3}
Or use a different approach or dependency option like custom Python partition dependency function note you can't use the dataiku API within this custom python dependency
https://doc.dataiku.com/dss/latest/partitions/dependencies.html
Thanks -
Hello Alex,
Thanks for you response. I was trying to use python dependency functions, my main problem is that I have some random missing partitions, for example it could be possible I skip days: 2023-11-01,2023-11-03.
How can I validate that a partition does exist using python dependency function, it seems that dataiku package isn't available there:
Thanks in advance,Saul