Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prune columns of scalar sub-queries #13895

Merged
merged 1 commit into from
Mar 29, 2023
Merged

Prune columns of scalar sub-queries #13895

merged 1 commit into from
Mar 29, 2023

Conversation

mfussenegger
Copy link
Member

The PRs:

#13668
#13712

Added columns used in the where clause to the select list to make them
available for parent operators.

The idea was that they'd get pruned if not required, but we didn't
prune columns of a scalar-subquery. This led to a ~5%(?) performance
decrease on some of our benchmarks (in_subquery.toml).

The PRs:

#13668
#13712

Added columns used in the where clause to the select list to make them
available for parent operators.

The idea was that they'd get pruned if not required, but we didn't
prune columns of a scalar-subquery. This led to a ~5%(?) performance
decrease on some of our benchmarks (`in_subquery.toml`).
@mfussenegger mfussenegger marked this pull request as ready for review March 29, 2023 10:28
@mfussenegger mfussenegger requested a review from seut March 29, 2023 10:28
Copy link
Member

@seut seut left a comment

Choose a reason for hiding this comment

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

nice, good catch

@mfussenegger mfussenegger added the ready-to-merge Let Mergify merge the PR once approved and checks pass label Mar 29, 2023
@mergify mergify bot merged commit b3872c7 into master Mar 29, 2023
@mergify mergify bot deleted the j/prune-subquery branch March 29, 2023 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Let Mergify merge the PR once approved and checks pass v/5.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants