Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on May 16, 2026. It is now read-only.
fix: Avoid implicit join when using join with unnest - #924
Merged
Conversation
ContributorAuthor
snapiri
commented
Dec 7, 2023
ContributorAuthor
@chalmerlowe / @Linchin, |
snapiriforce-pushed
the
368-handle-inner-join-unnest
branch
from
December 10, 2023 18:30
8fd2459 to
d12407eCompareLinchin
commented
Dec 11, 2023
Contributor
Hi @snapiri, cover test is also failing |
When using JOIN with UNNEST statements, and then creating a SELECT statement based on it, the UNNESTed table will appear twice in the FROM clause, causing an implicit join of the table with itself
snapiriforce-pushed
the
368-handle-inner-join-unnest
branch
from
December 12, 2023 08:42
d12407e to
8467014CompareContributorAuthor
Hi @Linchin, Thanks for the feedback. |
snapiri
commented
Dec 18, 2023
ContributorAuthor
@tswast / @Linchin / @chalmerlowe |
snapiri
commented
Dec 19, 2023
ContributorAuthor
@tswast - Not sure I know how to read the Also I see that there were 6 runs where the first failed and the 2-6 succeeded. Anything I should change? |
tswast
commented
Dec 19, 2023
Contributor
@snapiri That looks like a backend issue, not anything related to this code. I'll trigger a re-run. |
tswast
approved these changes
Dec 19, 2023
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
When using JOIN with UNNEST statements, and then creating a SELECT statement based on it, the UNNESTed table will appear twice in the FROM clause, causing an implicit join of the table with itself
Sample of problematic code:
Generates the following output:
Co-Authored-By: @yuval-bavli
Fixes#368