Skip to content

Conversation

@suremarc
Copy link
Collaborator

In the presence of tables that can push down filters, occasionally we can have a TableScan with filters that reference columns not in the output set of the scan. Currently the query rewriting code does not handle this edge case when analyzing predicates. This PR changes the test to use a Parquet table with pushdown_filters enabled, and a test case to exercise this code path.

@suremarc suremarc merged commit e206db5 into main May 23, 2025
8 checks passed
@suremarc suremarc deleted the handle-table-scan-filters branch May 23, 2025 16:50
@github-actions github-actions bot mentioned this pull request May 23, 2025
suremarc added a commit to massive-com/datafusion-materialized-views that referenced this pull request May 23, 2025
…contrib#59)

* use full table schema when analyzing predicates

* uncomment tests

* comment

* fmt
@github-actions github-actions bot mentioned this pull request Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants