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

Fix NPE when build HoodieFileIndex

    XMLWordPrintableJSON

Details

    • 1

    Description

      fix npc when spark read table which is init by flink.

      configuration hoodie.datasource.write.partitionpath.field (unpartitioned table) will not write into hoodie.properties

      or when flink initTable, set hoodie.datasource.write.partitionpath.field empty string
      https://github.com/apache/hudi/blob/master/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/util/StreamerUtil.java#L267

      Attachments

        Activity

          People

            Unassigned Unassigned
            guoyihua Ethan Guo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: