-
- Downloads
[SPARK-21119][SQL] unset table properties should keep the table comment
## What changes were proposed in this pull request? Previous code mistakenly use `table.properties.get("comment")` to read the existing table comment, we should use `table.comment` ## How was this patch tested? new regression test Author: Wenchen Fan <wenchen@databricks.com> Closes #18325 from cloud-fan/unset.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala 2 additions, 2 deletions...in/scala/org/apache/spark/sql/execution/command/ddl.scala
- sql/core/src/test/resources/sql-tests/inputs/describe.sql 8 additions, 0 deletionssql/core/src/test/resources/sql-tests/inputs/describe.sql
- sql/core/src/test/resources/sql-tests/results/describe.sql.out 138 additions, 63 deletions...ore/src/test/resources/sql-tests/results/describe.sql.out
Please register or sign in to comment