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

Options
saulleon
saulleon Registered Posts: 22 ✭✭✭✭

Hello Dataikers!

Why this doesn't work:

question-01.png

But this does:

question-02.png

Thanks in advance,

Saul

Tagged:

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,209 Dataiker
    Options

    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

  • saulleon
    saulleon Registered Posts: 22 ✭✭✭✭
    Options

    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

Setup Info
    Tags
      Help me…