You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sujith (JIRA)" <ji...@apache.org> on 2017/04/19 01:24:41 UTC

[jira] [Updated] (SPARK-20380) describe table not showing updated table comment after alter operation

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org