Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
when use ComplexKeyGenerator
the options the below.
option("hoodie.datasource.write.recordkey.field", "name, age"). option("hoodie.datasource.write.keygenerator.class", ComplexKeyGenerator.class.getName()). option("hoodie.datasource.write.partitionpath.field", "location, age").
and the data is
"{ \"name\": \"name1\", \"ts\": 1574297893839, \"age\": 15, \"location\": \"latitude\", \"sex\":\"male\"}"
the result is incorrect with age = null in recordkey, and age = default in partitionpath.
We would trim the paritions and recordkeys in complexKeyGenerator
Attachments
Issue Links
- links to