Skip to content

Wrong results when pushdown_filters is enabled (starting in 48.0.0) #16588

@alamb

Description

@alamb

Describe the bug

There are a lot of linked issues and discussions here, so it's quite possible that I missed an existing bug report, but I wanted to report an issue I encountered when enabling datafusion.execution.parquet.pushdown_filters.

Originally posted by @ianthetechie in #3463

To Reproduce

I've put together an MRE that demonstrates it with what seems like a trivial query (I initially had something MUCH more complex in a real app, but even this gets wrong results): https://github.com/ianthetechie/datafusion-predicate-pushdown-mre.

Expected behavior

I am expecting the number to be 72, but the count comes to 1245 with datafusion.execution.parquet.pushdown_filters set to true.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionSomething that used to work no longer does

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions