Ethan Guo created HUDI-3750:
-------------------------------

             Summary: Fix NPE when build HoodieFileIndex
                 Key: HUDI-3750
                 URL: https://issues.apache.org/jira/browse/HUDI-3750
             Project: Apache Hudi
          Issue Type: Bug
          Components: flink, spark
            Reporter: Ethan Guo
             Fix For: 0.11.0


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]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to