bvaradar commented on issue #1488: [SUPPORT] Hudi table has only five rows when 
record key is binary
URL: https://github.com/apache/incubator-hudi/issues/1488#issuecomment-610082513
 
 
   @jvaesteves : Yes, the default KeyGenerator 
(https://github.com/apache/incubator-hudi/blob/master/hudi-spark/src/main/scala/org/apache/hudi/DataSourceOptions.scala#L216)
 expects record keys and partition-paths to be string (other types converted to 
string using toString()). You can plugin your own implementation of 
keygenerator for binary types (record-keys).
   Try setting 
hoodie.datasource.write.keygenerator.class=org.apache.hudi.utilities.keygen.TimestampBasedKeyGenerator
 for fixing the partition-path alone. 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to