For time partitioning, in addition to the format indicated, you can also select ranges or use special keywords. To select all partitions between two dates, use the character / between the two dates to separate the beginning from the end.

To select all partitions, leave the field empty.

You can use the special keyword CURRENT_DAY if your partitioning maps to days: it will be respectively replaced by the current date when the scheduler will run the task. Similarly, you can use PREVIOUS_DAY. For time partitioning on months, hours, and years, CURRENT_MONTH, PREVIOUS_MONTH, CURRENT_HOUR, PREVIOUS_HOUR, CURRENT_YEAR, PREVIOUS_YEAR can be used in the same fashion.

Although, you cannot use these keywords with the / notation for date ranges.

Examples :
  • 2014-03-01/2014-04-15 for a daily scheduled task will build every partition between 1st March 2014 and 15th April 2014 every day.
  • PREVIOUS_MONTH for a monthly scheduled task will build the partition corresponding to the previous month.

Directly enter the value of the partitioning dimension to build.

You can select several partitions at once by enumerating the values using / as a separator. To select all partitions, leave the field empty.

Example : if you have a discrete partitioning dimension representing a country, you can use france/germany/poland to select all the partitions of these 3 countries.