Repository navigation
[CALCITE-7928] Volcano optimizer takes a very long time for a cross join lateral query - #5410
Open
mihaibudiu wants to merge 1 commit into
Open
mihaibudiu wants to merge 1 commit into
mihaibudiu wants to merge 1 commit into
Conversation
…oin lateral query
Contributor
Author
|
Solves the same problem as #5408. |
|
Member
|
I agree; I’ve also found this to be the reason, and I think this change is reasonable. However, should we keep this JIRA ticket open, or should we create a new one? |
xiedeyantu
approved these changes
Nov 12, 2026
Contributor
|
IMO we should merge this patch, but as a "Minor: ..." commit, unrelated to CALCITE-7928 because it does not address the root cause of the planning time explosion. |
Contributor
Author
|
I will resubmit the test fix as a separate PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Jira Link
CALCITE-7928
Changes Proposed
I have re-enabled the query but disabled (for this test only) a Volcano rule which is executed about 2 million times for optimizing the program generated by the decorrelator. With this change optimization is much faster.