[ 
https://issues.apache.org/jira/browse/HUDI-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinoth Chandar updated HUDI-1424:
---------------------------------
    Status: Open  (was: New)

> Write Type changed to BULK_INSERT when set ENABLE_ROW_WRITER_OPT_KEY=true
> -------------------------------------------------------------------------
>
>                 Key: HUDI-1424
>                 URL: https://issues.apache.org/jira/browse/HUDI-1424
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: Spark Integration
>            Reporter: pengzhiwei
>            Assignee: pengzhiwei
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.7.0
>
>         Attachments: image-2020-11-30-21-17-29-247.png
>
>
> I write data to hudi with UPSERT mode, when set 
> ENABLE_ROW_WRITER_OPT_KEY=true, the write type will change to BULK_INSERT. 
> This can be very confusing to users.
> This was caused by the  if-test condition  in HoodieSparkSqlWriter#write as 
> follow:
> !image-2020-11-30-21-17-29-247.png|width=1343,height=242!
> There is a lack of judgment on the write type,which make all of the write 
> type change to bulk write.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to