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 2020/04/30 06:45:49 UTC

[GitHub] [incubator-hudi] vinothchandar commented on issue #528: Does hudi support composite primary key upserts?

vinothchandar commented on issue #528:
URL: https://github.com/apache/incubator-hudi/issues/528#issuecomment-621645502


   @Murthy-Palla you can configure your key generator and using the `ComplexKeyGenerator` 
   https://github.com/apache/incubator-hudi/blob/master/hudi-spark/src/main/java/org/apache/hudi/keygen/ComplexKeyGenerator.java 
   
   you can build a composite key by specifying a list of fields.. cc @pratyakshsharma as FYI.. this seems like something we should doc more along with the your new CustomKeyGenerator :).. Naming being simple and docs to find this will go a long way for our users ?


----------------------------------------------------------------
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:
users@infra.apache.org