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-51712][SQL] Swallow non-fatal Throwables when resolving tables/views in spark.catalog.listTables() #50515

Closed
wants to merge 2 commits into from

Conversation

heyihong
Copy link
Contributor

@heyihong heyihong commented Apr 4, 2025

What changes were proposed in this pull request?

Swallow non-fatal Throwables when resolving tables/views in spark.catalog.listTables() and return tables/views with partial results instead

Why are the changes needed?

Prevent listTables from breaking easily due to a broken table/view.

Does this PR introduce any user-facing change?

No, but listTables won't break easily.

How was this patch tested?

Existing tests (e.g. HiveDDLSuite)

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

No

@github-actions github-actions bot added the SQL label Apr 4, 2025
@heyihong heyihong changed the title [SPARK-51712][SQL] Swallow non-fatal Throwables in spark.catalog.listTables() [SPARK-51712][SQL] Swallow non-fatal Throwables during resolving tables in spark.catalog.listTables() Apr 4, 2025
@heyihong heyihong changed the title [SPARK-51712][SQL] Swallow non-fatal Throwables during resolving tables in spark.catalog.listTables() [SPARK-51712][SQL] Swallow non-fatal Throwables when resolving tables in spark.catalog.listTables() Apr 4, 2025
@heyihong heyihong force-pushed the SPARK-51712 branch 2 times, most recently from 43d0f7d to b7c40e5 Compare April 4, 2025 11:40
@heyihong heyihong changed the title [SPARK-51712][SQL] Swallow non-fatal Throwables when resolving tables in spark.catalog.listTables() [SPARK-51712][SQL] Swallow non-fatal Throwables when resolving tables/views in spark.catalog.listTables() Apr 4, 2025
@heyihong heyihong requested a review from HyukjinKwon April 7, 2025 10:23
@HyukjinKwon
Copy link
Member

Merged to master.

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