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/01/11 02:15:44 UTC

[GitHub] [hudi] vinothchandar commented on pull request #4449: [HUDI-2763] Metadata table records - support for key deduplication based on hardcoded key field

vinothchandar commented on pull request #4449:
URL: https://github.com/apache/hudi/pull/4449#issuecomment-1009537360


   cc @prashantwason as well .
   
   I still think we need to avoid the references to HoodieMetadataPayload directly from HFileReader and HoodieHFileDataBlock level. The issue here that these layers currently don't take in any config object. 
   
   For HFileReader - there is a hadoop `configuration` object that can be used to pass the field name
   For HFileDataBlock - the log format writer creation could take an additional param. 
   
   Alternatively, a good Hudi citizen contributor (I just made that up), would have to plumb the interfaces more nicely to take a `Properties` and pass the writeConfig/commonConfig all the way to the reader/writer. This will be useful for many things going forward. This has to happen in a separate PR. 
   


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