You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Ethan Guo (Jira)" <ji...@apache.org> on 2022/03/31 02:20:00 UTC

[jira] [Closed] (HUDI-3750) Fix NPE when build HoodieFileIndex

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

Ethan Guo closed HUDI-3750.
---------------------------
    Resolution: Fixed

> 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
>            Priority: Blocker
>              Labels: pull-request-available
>             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)