On page https://mariadb.com/kb/en/range-partitioning-type/ there is example that leads to error message
Suggestion to remove ip and action not null, non-default fields.
Besides that there is a column timestamp with datetime and TIMESTAMP field with insert statement related to later, but with the error message returned for former.
This should return error for timestamp type:
instead of datetime type:
that is returned for other type of insert
Maybe to add both tables?