Date

This partitioning function creates date-based partitions.

See Also
Operators
Expression Language
Defining and Managing Data Queries
Parameter Description
enableYearField If true, it creates partitions by year. Default value: true.
enableWeekYearField If true, it creates partitions by week according to ISO. Unlike enableWeekField, it keeps 7 days per week. Default value: false.
enableQuarterField If true, it creates partitions by quarter (from 1 to 4). Default value: false.
enableMonthField If true, it creates partitions by month (from 1 to 12). Default value: true.
enableWeekField If true, it creates partitions by week (from 1 to 53). Be careful, with this mode, the first and last weeks of the year may have less than 7 days. Default value: false.
enableDayField If true, it creates partitions by month day (from 1 to 31). Default value: true.
enableWeekDayField If true, it creates partitions by week day (from 1 to 7). Default value: false.
enableHourField If true, it creates partitions by hour. Default value: false.
enableMinuteField If true, it creates partitions by minute. Default value: false.
enableSecondField If true, it creates partitions by second. Default value: false.
maxGroups An apollo expression returning an Integer. When defined, fields are disabled automatically (starting from the second field), until the number of output group does not exceed the given value. A disabled field contains NULL.
fillGaps If true, it adds empty partitions to keep a continuous partition sequence. Default value: false.