Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-1424

Write Type changed to BULK_INSERT when set ENABLE_ROW_WRITER_OPT_KEY=true

    XMLWordPrintableJSON

Details

    Description

      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:

      There is a lack of judgment on the write type,which make all of the write type change to bulk write.

       

      Attachments

        Issue Links

          Activity

            People

              pzw2018 pengzhiwei
              pzw2018 pengzhiwei
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: