-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-21089] [SQL] Fix DESC EXTENDED/FORMATTED to Show Table Properties #18294
Conversation
@@ -127,8 +127,9 @@ Provider parquet | |||
Num Buckets 2 | |||
Bucket Columns [`a`] | |||
Sort Columns [`b`] | |||
Properties [a=1, b=2] |
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.
Before the changes of this PR
Location [not included in comparison]sql/core/spark-warehouse/t | ||
Storage Properties [a=1, b=2] |
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.
After the change of this PR, both appear.
@@ -127,8 +127,9 @@ Provider parquet | |||
Num Buckets 2 | |||
Bucket Columns [`a`] | |||
Sort Columns [`b`] | |||
Properties [a=1, b=2] | |||
Table Properties [e=3] |
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.
After the change of this PR, both appear.
cc @cloud-fan |
Test build #78027 has started for PR 18294 at commit |
Test build #78025 has finished for PR 18294 at commit
|
the test failure is legitimate |
retest this please |
@cloud-fan That is by the first commit, whose output is generated by the codes before the fix. |
Test build #78053 has finished for PR 18294 at commit
|
LGTM. |
Since both table properties and storage properties share the same key values, table properties are not shown in the output of DESC EXTENDED/FORMATTED when the storage properties are not empty. This PR is to fix the above issue by renaming them to different keys. Added test cases. Author: Xiao Li <[email protected]> Closes #18294 from gatorsmile/tableProperties. (cherry picked from commit df766a4) Signed-off-by: Xiao Li <[email protected]>
### What changes were proposed in this pull request? Since both table properties and storage properties share the same key values, table properties are not shown in the output of DESC EXTENDED/FORMATTED when the storage properties are not empty. This PR is to fix the above issue by renaming them to different keys. ### How was this patch tested? Added test cases. Author: Xiao Li <[email protected]> Closes apache#18294 from gatorsmile/tableProperties.
What changes were proposed in this pull request?
Since both table properties and storage properties share the same key values, table properties are not shown in the output of DESC EXTENDED/FORMATTED when the storage properties are not empty.
This PR is to fix the above issue by renaming them to different keys.
How was this patch tested?
Added test cases.