Skip to content

Support for != predicate in pruning predicates #420

@alamb

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

While evaluating queries against data stored in containers / multiple files, it is helpful to prune entire files using statistics (see #363 for more details). DataFusion has this logic already for ==, <, <=, > and >= operators in the pruning predicate.

However, as @NGA-TRAN noticed, there is no support for != at the moment.

https://github.com/apache/arrow-datafusion/blob/14f1eebef068a9e65f556ed74d2b6d98376c97f4/datafusion/src/physical_plan/parquet.rs#L683

Describe the solution you'd like
Add support and tests for != in predicate pruning logic

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions