Skip to content

Conversation

@nicktobey
Copy link
Contributor

In cases where the filter expression changed during push down because the column IDs changed, we were accidentally checking for expressions with the new column IDs, not the old ones, so the old filter expressions weren't being removed.

…y checking for the expressions from before we fix up column IDs, not after.
@nicktobey
Copy link
Contributor Author

The diff of query_plans.go looks inscrutable in GitHub because it only shows diffs with line granularity. But Goland's diff tool makes it obvious that the change just removes a bunch of duplicate filter expressions (and adjusts the indentation on their child nodes.)

@nicktobey nicktobey marked this pull request as ready for review September 5, 2023 05:41
Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix!

@nicktobey nicktobey merged commit d030276 into main Sep 5, 2023
@nicktobey nicktobey deleted the nicktobey/pushdown branch September 5, 2023 17:49
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.

2 participants