-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-20067] [SQL] Unify and Clean Up Desc Commands Using Catalog Interface #17394
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
Changes from 3 commits
2ebeac8
8720919
d999147
3859097
1d72079
68bb05c
ac3f351
bef1134
29817ea
6c56041
36b501e
e116018
a6db8a3
43668be
862a4d7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -97,16 +97,21 @@ DESC EXTENDED t | |
| struct<col_name:string,data_type:string,comment:string> | ||
| -- !query 6 output | ||
| # Detailed Table Information CatalogTable( | ||
| Table: `default`.`t` | ||
| Created: | ||
| Last Access: | ||
| Type: MANAGED | ||
| Schema: [StructField(a,StringType,true), StructField(b,IntegerType,true), StructField(c,StringType,true), StructField(d,StringType,true)] | ||
| Provider: parquet | ||
| Partition Columns: [`c`, `d`] | ||
| Comment: table_comment | ||
| Storage(Location: sql/core/spark-warehouse/t) | ||
| Partition Provider: Catalog) | ||
| Table: `default`.`t` | ||
| Created: | ||
| Last Access: | ||
| Type: MANAGED | ||
| Provider: parquet | ||
| Partition Columns: [`c`, `d`] | ||
| Comment: table_comment | ||
| Storage(Location: sql/core/spark-warehouse/t) | ||
| Partition Provider: Catalog | ||
| Schema: root | ||
| |-- a: string (nullable = true) | ||
| |-- b: integer (nullable = true) | ||
| |-- c: string (nullable = true) | ||
| |-- d: string (nullable = true) | ||
|
||
| ) | ||
| # Partition Information | ||
| # col_name data_type comment | ||
| a string | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to wrap the information with
CatalogTable(...)?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Let me remove it and move it to the next line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The output looks weird if we sort the Command, so file a PR: #17414