[
https://issues.apache.org/jira/browse/HUDI-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396909#comment-17396909
]
ASF GitHub Bot commented on HUDI-1936:
--------------------------------------
vinothchandar commented on pull request #3035:
URL: https://github.com/apache/hudi/pull/3035#issuecomment-896336864
In some sense, with the Spark SQL support now, python users can do custom
merges? does that satisfy your requirements?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Introduce a optional property for conditional upsert
> -----------------------------------------------------
>
> Key: HUDI-1936
> URL: https://issues.apache.org/jira/browse/HUDI-1936
> Project: Apache Hudi
> Issue Type: New Feature
> Components: Common Core, Compaction
> Reporter: Biswajit mohapatra
> Assignee: Biswajit mohapatra
> Priority: Minor
> Labels: features, pull-request-available
> Fix For: 0.9.0
>
>
> If anyone wants to use custom upsert logic then they have to override the
> Latest avro payload class which is only possible in java or scala .
> Python developers have no such option .
> Will be introducing a new payload class and a new key which can work in java
> , scala and python
> This class will be responsible for custom upsert logic and a new key
> hoodie.update.key which will accept the columns which only need to be updated
>
> "hoodie.update.keys": "admission_date,name", #comma seperated key
> "hoodie.datasource.write.payload.class": "com.hudiUpsert.hudiCustomUpsert"
> #custom upsert key
>
> so this will only update the column admission_date and name in the target
> table
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)