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

Exception When Merge With Null-Value Field

    XMLWordPrintableJSON

Details

    Description

      Merge with null-value field will throw exception.

      spark.sql(
        s"""
           |merge into h0
           |using (
           | select 1 as id, 'a1' as name, cast(null as string) as value, 1000 as ts
           | ) s0
           | on h0.id = s0.id
           | when not matched then insert *
           |""".stripMargin)
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: