bvaradar commented on issue #1902: URL: https://github.com/apache/hudi/issues/1902#issuecomment-668146668
Yes, You need to configure hoodie.datasource.write.recordkey.field and hoodie.datasource.write.keygenerator.class: org.apache.hudi.ComplexKeyGenerator The record-key field that Hudi uses is of type string but the original primary key is numeric type. Hence, you are seeing a different order. If you use the record key using complex-key, you can achieve the clustering you are looking for. ---------------------------------------------------------------- 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]
