[ https://issues.apache.org/jira/browse/HIVE-18285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16298207#comment-16298207 ]
Zoltan Haindrich commented on HIVE-18285: ----------------------------------------- I just thinked about adding a testcase which triggers the path you have just found that it's broken... set a preevent listener which changes something....and then show that the listener is respected by the statstask. but anyway I'm not against this change: +1 > StatsTask uses a cached ql.metadata.Table object > ------------------------------------------------ > > Key: HIVE-18285 > URL: https://issues.apache.org/jira/browse/HIVE-18285 > Project: Hive > Issue Type: Bug > Components: Metastore, Statistics > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Attachments: HIVE-18285.01.patch > > > this then causes BasicStatsTask.aggregateStats(Hive) to call > Hive.alterTable() with a stale Table object. (It misses any changes made by > any MetaStorePreEventListener) -- This message was sent by Atlassian JIRA (v6.4.14#64029)