Currently, TimestampBasedKeyGenerator only supports 4 data types for the partition key. They are Double, Long, Float and String. However, if the `avro.java.string` is not specified in the schema provided, Hudi throws the following error:
org.apache.hudi.exception.HoodieNotSupportedException: Unexpected type for partition field: org.apache.avro.util.Utf8
It will be better if the support was more generalised to include the data types that provide method to convert them to String such as `Utf8` since all these methods implement the `CharSequence` interface.