[SPARK-51712][SQL] Swallow non-fatal Throwables when resolving tables/views in spark.catalog.listTables()#54982
Closed
HyukjinKwon wants to merge 3 commits intoapache:masterfrom
Closed
[SPARK-51712][SQL] Swallow non-fatal Throwables when resolving tables/views in spark.catalog.listTables()#54982HyukjinKwon wants to merge 3 commits intoapache:masterfrom
HyukjinKwon wants to merge 3 commits intoapache:masterfrom
Conversation
Member
Author
|
cc @cloud-fan |
dongjoon-hyun
approved these changes
Mar 24, 2026
Member
|
Ur, @HyukjinKwon . The git commit log might look weird because of the previous activity. Currently, the master branch already have SPARK-51712 (without revert commit) although it might be not released. For this PR, can we have a new JIRA ID to simplify the git log? I believe you can clone SPARK-51712 JIRA issue if you want to land it back here. |
Member
Author
|
Oh, it was reverted and new change was added in #50696 at the same time. I fixed the PR description a bit. |
Member
Author
|
Let me merge this frist. @dongjoon-hyun please let me know if you prefer to have a new JIRA - I don't have a strong preferenace. I can revert and merge it with a new JIRA 👍 |
Member
Author
|
Merged to master. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR reverts #54750 (additional fix) and #50696 (revert of #50515 and new approach) and revives #50515.
Why are the changes needed?
SHOW TABLESdoes not require table resolution so it already shows those informationDoes this PR introduce any user-facing change?
Yes, this will return the list of tables when
spark.catalog.listTablesis used even when there is an exception during table resolution. It failed before.How was this patch tested?
Manually tested.
Was this patch authored or co-authored using generative AI tooling?
No.