[ 
https://issues.apache.org/jira/browse/SPARK-20380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sujith updated SPARK-20380:
---------------------------
    Description: 
When user alter the table properties and adds/updates table comment. table 
comment which is now directly part of CatalogTable instance is not getting 
updated and old table comment was shown

Proposal for solution
To handle this issue while updating the table properties map with newly 
added/modified properties in CatalogTable
instance also update the comment parameter in CatalogTable with the newly 
added/modified comment. already a PR is added for this issue

https://github.com/apache/spark/pull/17649

  was:
When user alter the table properties and adds/updates table comment. table 
comment which is now directly part of CatalogTable instance is not getting 
updated and old table comment was shown

Proposal for solution
To handle this issue while updating the table properties map with newly 
added/modified properties in CatalogTable
instance also update the comment parameter in CatalogTable with the newly 
added/modified comment.


> describe table not showing updated table comment after alter operation
> ----------------------------------------------------------------------
>
>                 Key: SPARK-20380
>                 URL: https://issues.apache.org/jira/browse/SPARK-20380
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Sujith
>
> When user alter the table properties and adds/updates table comment. table 
> comment which is now directly part of CatalogTable instance is not getting 
> updated and old table comment was shown
> Proposal for solution
> To handle this issue while updating the table properties map with newly 
> added/modified properties in CatalogTable
> instance also update the comment parameter in CatalogTable with the newly 
> added/modified comment. already a PR is added for this issue
> https://github.com/apache/spark/pull/17649



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to