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-46973][SQL] Skip V2 table lookup when a table is in V1 table cache #45176

Closed

Conversation

allisonwang-db
Copy link
Contributor

@allisonwang-db allisonwang-db commented Feb 20, 2024

What changes were proposed in this pull request?

This PR updates the V2SessionCatalog to improve the performance of table resolution when a table is already in the V1 table cache.

Why are the changes needed?

To make the table resolution more efficient.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing tests

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the SQL label Feb 20, 2024
@allisonwang-db
Copy link
Contributor Author

cc @cloud-fan

@allisonwang-db allisonwang-db changed the title [SPARK-46973][SQL] Add new SessionCatalog APIs to support V2 table cache [SPARK-46973][SQL] Skip V2 table lookup when a table is in V1 table cache Mar 2, 2024
@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in 5a71f21 Mar 4, 2024
ericm-db pushed a commit to ericm-db/spark that referenced this pull request Mar 5, 2024
…ache

### What changes were proposed in this pull request?

This PR updates the SessionCatalog to improve the performance of table resolution when a table is already in the V1 table cache.

### Why are the changes needed?

To make the table resolution more efficient.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Existing tests

### Was this patch authored or co-authored using generative AI tooling?

No

Closes apache#45176 from allisonwang-db/spark-46973-v2-table-cache.

Authored-by: allisonwang-db <allison.wang@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
jpcorreia99 pushed a commit to jpcorreia99/spark that referenced this pull request Mar 12, 2024
…ache

### What changes were proposed in this pull request?

This PR updates the SessionCatalog to improve the performance of table resolution when a table is already in the V1 table cache.

### Why are the changes needed?

To make the table resolution more efficient.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Existing tests

### Was this patch authored or co-authored using generative AI tooling?

No

Closes apache#45176 from allisonwang-db/spark-46973-v2-table-cache.

Authored-by: allisonwang-db <allison.wang@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants