apache / parquet-java

Apache Parquet Java
https://parquet.apache.org/
Apache License 2.0
2.62k stars 1.41k forks source link

Throw Exception when predicate contains columns not specified in prejection, to prevent filtering out data improperly #1927

Open asfimport opened 8 years ago

asfimport commented 8 years ago

As is reported by Parquet-425, data will be filtered out improperly under certain cases.

Before Parquet-425 is fixed, let's throw an Exception to warn the upper application that work-arounds should be done.

Reporter: Liwei Lin(Inactive) / @lw-lin Assignee: Liwei Lin(Inactive) / @lw-lin

Externally tracked issue: https://issues.apache.org/jira/browse/PARQUET-425

Note: This issue was originally created as PARQUET-426. Please see the migration documentation for further details.

asfimport commented 8 years ago

Liwei Lin(Inactive) / @lw-lin: Will issue a PR for this ticket as soon as PR#310 for PARQUET-429 is merged.