-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-41154][SQL] Incorrect relation caching for queries with time travel spec #38687
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
Conversation
singhpk234
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch !
|
there is another cache in |
|
|
|
LGTM. Thanks for fixing this! @ulysses-you |
|
|
|
Oh wait a minute. Due to the spark catalog extension (set via Update: this cache is only used by |
|
thanks, merging to master/3.3! |
|
it has conflicts with 3.3, @ulysses-you can you create a backport PR? thanks! |
|
thank you all, created #38741 for branch-3.3 |
…ime travel spec backport #38687 for branch-3.3 ### What changes were proposed in this pull request? Add TimeTravelSpec to the key of relation cache in AnalysisContext. ### Why are the changes needed? Correct the relation resolution for the same table but different TimeTravelSpec. ### Does this PR introduce _any_ user-facing change? yes, bug fix ### How was this patch tested? add test Closes #38741 from ulysses-you/time-travel-spec-3.3. Authored-by: ulysses-you <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
…ravel spec ### What changes were proposed in this pull request? Add TimeTravelSpec to the key of relation cache in AnalysisContext. ### Why are the changes needed? Correct the relation resolution for the same table but different TimeTravelSpec. ### Does this PR introduce _any_ user-facing change? yes, bug fix ### How was this patch tested? add test Closes apache#38687 from ulysses-you/time-travel-spec. Authored-by: ulysses-you <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
…ravel spec ### What changes were proposed in this pull request? Add TimeTravelSpec to the key of relation cache in AnalysisContext. ### Why are the changes needed? Correct the relation resolution for the same table but different TimeTravelSpec. ### Does this PR introduce _any_ user-facing change? yes, bug fix ### How was this patch tested? add test Closes apache#38687 from ulysses-you/time-travel-spec. Authored-by: ulysses-you <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
…ravel spec ### What changes were proposed in this pull request? Add TimeTravelSpec to the key of relation cache in AnalysisContext. ### Why are the changes needed? Correct the relation resolution for the same table but different TimeTravelSpec. ### Does this PR introduce _any_ user-facing change? yes, bug fix ### How was this patch tested? add test Closes apache#38687 from ulysses-you/time-travel-spec. Authored-by: ulysses-you <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
What changes were proposed in this pull request?
Add TimeTravelSpec to the key of relation cache in AnalysisContext.
Why are the changes needed?
Correct the relation resolution for the same table but different TimeTravelSpec.
Does this PR introduce any user-facing change?
yes, bug fix
How was this patch tested?
add test