MySQL Error Message
Column ‘%s.%s.%s’ having prefix key part ‘%s(%u)’ is
ignored by the partitioning function. Use of prefixed columns in
the PARTITION BY KEY() clause is deprecated and will be removed in
a future release.
Reason for the Error
ER_WARN_LOG_DEPRECATED_PARTITION_PREFIX_KEY
was added in 8.0.21.