-
- Downloads
[SPARK-21112][SQL] ALTER TABLE SET TBLPROPERTIES should not overwrite COMMENT
### What changes were proposed in this pull request? `ALTER TABLE SET TBLPROPERTIES` should not overwrite `COMMENT` even if the input property does not have the property of `COMMENT`. This PR is to fix the issue. ### How was this patch tested? Covered by the existing tests. Author: Xiao Li <gatorsmile@gmail.com> Closes #18318 from gatorsmile/fixTableComment.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala 1 addition, 1 deletion...in/scala/org/apache/spark/sql/execution/command/ddl.scala
- sql/core/src/test/resources/sql-tests/results/describe.sql.out 2 additions, 0 deletions...ore/src/test/resources/sql-tests/results/describe.sql.out
Loading
Please register or sign in to comment