Bharathkrishna Guruvayoor Murali created HIVE-20601:
-------------------------------------------------------

             Summary: EnvironmentContext null in ALTER_PARTITION event in 
DbNotificationListener
                 Key: HIVE-20601
                 URL: https://issues.apache.org/jira/browse/HIVE-20601
             Project: Hive
          Issue Type: Improvement
          Components: Metastore
    Affects Versions: 3.0.0, 4.0.0
            Reporter: Bharathkrishna Guruvayoor Murali
            Assignee: Bharathkrishna Guruvayoor Murali


Cause : EnvironmentContext not passed here:

[https://github.com/apache/hive/blob/36c33ca066c99dfdb21223a711c0c3f33c85b943/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java#L726]

 

It will be useful to have the environmentContext passed to 
DbNotificationListener in this case, to know if the alter happened due to a 
stat change.



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

Reply via email to