In partitioning expressions only the following listed MySQL functions are allowed in MySQL 8:
- ABS(): It provides an absolute value for the given argument
- CEILING(): It provides the smallest integer number possible for the given argument
- DAY(): It provides the day of the month for the given date
- DAYOFMONTH(): It provides the day of the month for the given date same as DAY()
- DAYOFWEEK(): It provides the weekday number for the given date
- DAYOFYEAR(): It provides the day of the year for the given date
- DATEDIFF(): It provides the number of days between two given dates
- EXTRACT(): It provides part of the given argument
- FLOOR(): It provides the largest integer value possible for the given argument