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

Resort to greedy join ordering after some number of pairs considered #3327

Open
scsmithr opened this issue Nov 30, 2024 · 0 comments
Open

Resort to greedy join ordering after some number of pairs considered #3327

scsmithr opened this issue Nov 30, 2024 · 0 comments

Comments

@scsmithr
Copy link
Member

# TODO: Produce too many orders
# PLANNING PROFILE DATA
# Step Elapsed (micro)
# resolve_step 86
# bind_step 56
# plan_logical_step 7
# optimizer_step 15895342
# expression_rewrite 8
# filter_pushdown_1 308
# limit_pushdown 2
# column_pruning 18
# join_reorder 15895002
# plan_intermediate_step 56
# plan_executable_step 59

Current join reordering considers all possible pairs with no early stopping.

We should stop and fall back to greedy once we've considered some number of pairs.

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

No branches or pull requests

1 participant