Skip to content

Comments

[SPARK-39194][SQL] Add a pre resolution builder for spark session extensions#36563

Closed
yaooqinn wants to merge 2 commits intoapache:masterfrom
yaooqinn:SPARK-39194
Closed

[SPARK-39194][SQL] Add a pre resolution builder for spark session extensions#36563
yaooqinn wants to merge 2 commits intoapache:masterfrom
yaooqinn:SPARK-39194

Conversation

@yaooqinn
Copy link
Member

@yaooqinn yaooqinn commented May 16, 2022

What changes were proposed in this pull request?

This PR aims to introduce an extension point for pre resolution.

Why are the changes needed?

A pre resolution enables developers or users to do some preparations before the actual resolution phase.

For example, the current catalog v2 implementations require setting SQL configurations ahead to activate, which is not flexible to use. Instead of using configuration, users are more likely to store and retrieve catalogs through meta storages, e.g. databases, kv stores, etc. The current relation resolution always falls back to the current/default catalog, which makes extra resolution rules unable to handle this issue. But W/ this feature we have opportunities to inject catalogs early.

Does this PR introduce any user-facing change?

it is a dev oriented change

How was this patch tested?

new tests

@github-actions github-actions bot added the SQL label May 16, 2022
@yaooqinn
Copy link
Member Author

cc @cloud-fan @HyukjinKwon thanks

@github-actions
Copy link

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label Aug 25, 2022
@github-actions github-actions bot closed this Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant