[ 
https://issues.apache.org/jira/browse/HIVE-13157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646163#comment-16646163
 ] 

Peter Vary commented on HIVE-13157:
-----------------------------------

[~bharos92]: Seems unintuitive for me that StatsTask would update any other 
data than the stats. What we can do is mark if we change anything on the 
{{tbl}} object or it's children and in the end if we did not change anything 
then we might not want to call alterTable. Also if we do not change anything 
but the stats and we have a FollowingStatsTask then we can skip the alterTable 
as well.


> MetaStoreEventListener.onAlter triggered for INSERT and SELECT
> --------------------------------------------------------------
>
>                 Key: HIVE-13157
>                 URL: https://issues.apache.org/jira/browse/HIVE-13157
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 1.2.1, 4.0.0
>            Reporter: Eugen Stoianovici
>            Assignee: Bharathkrishna Guruvayoor Murali
>            Priority: Critical
>
> The event onAlter from 
> org.apache.hadoop.hive.metastore.MetaStoreEventListener is triggered when 
> INSERT or SELECT statements are executed on the target table.
> Furthermore, the value of transient_lastDdl is updated in table properties 
> for INSERT statements.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to