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

Paresh Devalia updated ATLAS-4902:
----------------------------------
    Description: 
Creating new table in hive via Hue

create external table test_1 (`id` bigint) comment "test comment";

When we execute this command from hive to alter existing table comment:
 
ALTER TABLE test_1 SET TBLPROPERTIES ('comment' = 'new_comment');

>From atlas UI comment:"new_comment" is updated only for parameter section:

----------{-}{{-}}Snippet{{-}}{-}------------
parameters

{
   last_modified_time: "1725612239",
   numRows: "0",
   rawDataSize: "0",
   transient_lastDdlTime: "1725612239",
   bucketing_version: "2",
   last_modified_by: "admin",
   numFilesErasureCoded: "0",
   totalSize: "0",
   EXTERNAL: "TRUE",
   COLUMN_STATS_ACCURATE: 
"\{"BASIC_STATS":"true","COLUMN_STATS":{"id":"true"}}",
   numFiles: "0",
   comment: "new_comment"
}

----------{-}{{-}}Snippet{{-}}{-}------------

But the modified comment value is not updated on UI
comment test comment

  was:
Creating new table in hive via Hue

create external table rasika (`siren` bigint) comment "test comment";

When we execute this command from hive to alter existing table comment:
 
ALTER TABLE rasika SET TBLPROPERTIES ('comment' = 'new_comment');

>From atlas UI comment:"new_comment" is updated only for parameter section:

-----------{-}Snippet{-}-------------
parameters

{
   last_modified_time: "1725612239",
   numRows: "0",
   rawDataSize: "0",
   transient_lastDdlTime: "1725612239",
   bucketing_version: "2",
   last_modified_by: "admin",
   numFilesErasureCoded: "0",
   totalSize: "0",
   EXTERNAL: "TRUE",
   COLUMN_STATS_ACCURATE: 
"\{"BASIC_STATS":"true","COLUMN_STATS":{"siren":"true"}}",
   numFiles: "0",
   comment: "new_comment"
}

-----------{-}Snippet{-}-------------

But the modified comment value is not updated on UI
comment test comment


> Comment properties for existing hive tables can not be modified in Atlas
> ------------------------------------------------------------------------
>
>                 Key: ATLAS-4902
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4902
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Paresh Devalia
>            Assignee: Paresh Devalia
>            Priority: Major
>
> Creating new table in hive via Hue
> create external table test_1 (`id` bigint) comment "test comment";
> When we execute this command from hive to alter existing table comment:
>  
> ALTER TABLE test_1 SET TBLPROPERTIES ('comment' = 'new_comment');
> From atlas UI comment:"new_comment" is updated only for parameter section:
> ----------{-}{{-}}Snippet{{-}}{-}------------
> parameters
> {
>    last_modified_time: "1725612239",
>    numRows: "0",
>    rawDataSize: "0",
>    transient_lastDdlTime: "1725612239",
>    bucketing_version: "2",
>    last_modified_by: "admin",
>    numFilesErasureCoded: "0",
>    totalSize: "0",
>    EXTERNAL: "TRUE",
>    COLUMN_STATS_ACCURATE: 
> "\{"BASIC_STATS":"true","COLUMN_STATS":{"id":"true"}}",
>    numFiles: "0",
>    comment: "new_comment"
> }
> ----------{-}{{-}}Snippet{{-}}{-}------------
> But the modified comment value is not updated on UI
> comment test comment



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to