You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/09 10:43:00 UTC
[jira] [Updated] (PARQUET-1489) Insufficient documentation for
UserDefinedPredicate.keep(T)
[ https://issues.apache.org/jira/browse/PARQUET-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated PARQUET-1489:
------------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)