You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/05/12 16:03:55 UTC

[GitHub] [hudi] nsivabalan commented on issue #5074: [SUPPORT] Flink use different record_key format from spark

nsivabalan commented on issue #5074:
URL: https://github.com/apache/hudi/issues/5074#issuecomment-1125172474

   yeah. its mainly bcoz of spark-sql. in spark-datasource, default key gen is SimpleKeyGen. 
   @xushiyan @YannByron : do we know why we have custom key gen as default in spark-sql. 
   but I didn't know that _hoodie_record_key value will be of the format "recordkeyFieldName:value". I checked the code and apparently for ComplexKeyGen and GlobalDeleteKeyGen we prefix the field name. 
   
   @xushiyan : we may need to solve this discrepancy. 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org