-
Notifications
You must be signed in to change notification settings - Fork 28.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50690][SQL] Fix discrepancy in DESCRIBE TABLE view query outpu…
…t columns quoting ### What changes were proposed in this pull request? Previously, the `DESCRIBE TABLE` SQL command displayed column lists such as bucket and sort columns as so: ``` Bucket Columns [`a`] Sort Columns [`b`] ``` However view query output columns were not quoted: ``` View Query Output Columns [c1] ``` This PR fixes the discrepancy by quoting the view query output columns with ``: ``` View Query Output Columns [`c1`] ``` ### Why are the changes needed? The change ensures cohesive `DESCRIBE TABLE` output, which can improve parsing and readability. ### Does this PR introduce _any_ user-facing change? Yes, this modifies the view query output columns portion of the `DESCRIBE TABLE` output. ### How was this patch tested? Existing SQL tests, including golden file output ### Was this patch authored or co-authored using generative AI tooling? No Closes #49321 from asl3/asl3/describe-viewqueryoutputcolumns. Authored-by: Amanda Liu <amanda.liu@databricks.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
- Loading branch information
1 parent
51b011f
commit c1e51f2
Showing
12 changed files
with
94 additions
and
93 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.