Subset Partitions (Date) to Non-Partitioned (Error: Illegal time partitioning value)

saulleon
Level 3
Subset Partitions (Date) to Non-Partitioned (Error: Illegal time partitioning value)

Hello Dataikers!

Why this doesn't work:

question-01.png

 

But this does:

question-02.png

 

Thanks in advance,

Saul

0 Kudos
2 Replies
AlexT
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}


Screenshot 2023-11-21 at 12.24.26 PM.png
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

0 Kudos
saulleon
Level 3
Author

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:

 

question-01.png


Thanks in advance,

Saul

0 Kudos

Labels

?
Labels (1)
A banner prompting to get Dataiku