Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17649#discussion_r114887153
  
    --- Diff: 
sql/core/src/test/resources/sql-tests/inputs/describe-table-after-alter-table.sql
 ---
    @@ -0,0 +1,29 @@
    +CREATE TABLE table_with_comment (a STRING, b INT, c STRING, d STRING) 
USING parquet COMMENT 'added';
    +
    +DESC formatted table_with_comment;
    +
    +-- ALTER TABLE BY MODIFYING COMMENT
    +ALTER TABLE table_with_comment set tblproperties("comment"= "modified 
comment", "type"= "parquet");
    +
    +DESC formatted table_with_comment;
    +
    +-- DROP TEST TABLE
    +DROP TABLE table_with_comment;
    +
    +-- CREATE TABLE WITHOUT COMMENT
    +CREATE TABLE table_comment (a STRING, b INT) USING parquet;
    +
    +DESC formatted table_comment;
    +
    +-- ALTER TABLE BY ADDING COMMENT
    +ALTER TABLE table_comment set tblproperties(comment = "added comment");
    +
    +DESC formatted table_comment;
    --- End diff --
    
    Nit: `formatted` -> `FORMATTED`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to