Gabor Szadovszky created PARQUET-1489:
-----------------------------------------

             Summary: Insufficient documentation for 
UserDefinedPredicate.keep(T)
                 Key: PARQUET-1489
                 URL: https://issues.apache.org/jira/browse/PARQUET-1489
             Project: Parquet
          Issue Type: Improvement
          Components: parquet-mr
            Reporter: Gabor Szadovszky
            Assignee: Gabor Szadovszky


The parquet-mr library invokes 
[UserDefinedPredicate.keep(T)|https://github.com/apache/parquet-mr/blob/master/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/UserDefinedPredicate.java#L47]
 with {{null}} values. (This is the only way parquet-mr can check if a {{null}} 
fulfills the UDP.) This fact is not highlighted in the documentation of the 
method which can easily lead to an unexpected NPE.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to