Skip to content

Conversation

@notashes
Copy link
Contributor

@notashes notashes commented Feb 11, 2026

Which issue does this PR close?

Rationale for this change

FilterExecs with projection were incorrectly getting mapped to the wrong columns. Now we make sure that the column indices have been mapped properly during post phase filter pushdown.

What changes are included in this PR?

Just use ChildFilterDescription::from_child() as it takes care of proper column rampping.

Are these changes tested?

Locally for the query provided in issue #20267 . After the changes we seem to get the correct Dynamic Filter. Will add any necessary changes.

Are there any user-facing changes?

@github-actions github-actions bot added the physical-plan Changes to the physical-plan crate label Feb 11, 2026
@notashes
Copy link
Contributor Author

Closing in favour of #20286.

@notashes notashes closed this Feb 11, 2026
@notashes notashes deleted the new-indices branch February 11, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Dynamic filter leads to wrong results in some aggregation queries with >1 partitions

1 participant