-
- Downloads
[SPARK-21089][SQL] Fix DESC EXTENDED/FORMATTED to Show Table Properties
### 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 <gatorsmile@gmail.com> Closes #18294 from gatorsmile/tableProperties.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala 2 additions, 2 deletions...ala/org/apache/spark/sql/catalyst/catalog/interface.scala
- sql/core/src/test/resources/sql-tests/inputs/describe.sql 3 additions, 0 deletionssql/core/src/test/resources/sql-tests/inputs/describe.sql
- sql/core/src/test/resources/sql-tests/results/describe-table-after-alter-table.sql.out 1 addition, 1 deletion...ql-tests/results/describe-table-after-alter-table.sql.out
- sql/core/src/test/resources/sql-tests/results/describe.sql.out 99 additions, 84 deletions...ore/src/test/resources/sql-tests/results/describe.sql.out
Loading
Please register or sign in to comment