Change time-based partition key granularity from day to month

julesbertrand
julesbertrand Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 9 Partner

Hi Dataïku,

I have a dataset partitioned by day that I want to re-partition by month. What's the best way of doing it please ? I tried an INSERT OVERWRITE table PARTITION () but is there a better way ?

Thanks,

Jules


Operating system used: MacOS

Answers

  • AmandaM
    AmandaM Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 9 Dataiker

    Hi @julesbertrand
    -

    You can change the partition from day to month by going into the dataset settings, navigating to the Partitioning Tab, and changing the period from MONTH to DAY as seen in the screenshot below. You can find more information about partitioning in the knowledge base article here.

Setup Info
    Tags
      Help me…