Gabor Szadovszky created PARQUET-1999:
-----------------------------------------

             Summary: NPE might occur if OutputFile is implemented by the client
                 Key: PARQUET-1999
                 URL: https://issues.apache.org/jira/browse/PARQUET-1999
             Project: Parquet
          Issue Type: Bug
    Affects Versions: 1.12.0
            Reporter: Gabor Szadovszky
            Assignee: Gabor Szadovszky


We have introduced a new default method in 
[OutputFile|https://github.com/apache/parquet-mr/blob/apache-parquet-1.12.0-rc3/parquet-common/src/main/java/org/apache/parquet/io/OutputFile.java#L34-L36]
 which returns {{null}} by default. Unfortunately we not always prepared for 
this {{null}} causing NPE in case of this interface is implemented by our API 
client. (Our own implementations overrides this method and returns non-null 
values.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to