Skip to content

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

Closed
ulysses-you wants to merge 1 commit intoapache:branch-3.3from
ulysses-you:time-travel-spec-3.3
Closed

[SPARK-41154][SQL][3.3] Incorrect relation caching for queries with time travel spec#38741
ulysses-you wants to merge 1 commit intoapache:branch-3.3from
ulysses-you:time-travel-spec-3.3

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