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

[SPARK-41154][SQL][3.3] Incorrect relation caching for queries with time travel spec #38741

Closed

Conversation

ulysses-you
Copy link
Contributor

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

@cloud-fan
Copy link
Contributor

@cloud-fan
Copy link
Contributor

thanks, merging to 3.3!

cloud-fan pushed a commit that referenced this pull request Nov 22, 2022
…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 <ulyssesyou18@gmail.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
@cloud-fan cloud-fan closed this Nov 22, 2022
@ulysses-you ulysses-you deleted the time-travel-spec-3.3 branch November 22, 2022 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants