[
https://issues.apache.org/jira/browse/HIVE-18912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16392354#comment-16392354
]
Sergey Shelukhin commented on HIVE-18912:
-----------------------------------------
I added a bug to StatsTask (some exception in the method that sets the stats up
starting with the above line).
When running a q file with this issue StatsTask threw, insert results were
still propagated to the table and stats accurate was stil ltrue from the
previous query iirc.
> Stats task should set accurate flag to false on failure
> -------------------------------------------------------
>
> Key: HIVE-18912
> URL: https://issues.apache.org/jira/browse/HIVE-18912
> Project: Hive
> Issue Type: Bug
> Reporter: Sergey Shelukhin
> Priority: Major
>
> In my testing, I noticed that sometimes when stats task fails, the
> accurate=true flag is not cleaned and stats become misleading.
> See the code where it presets it e.g. for txn table.
> {noformat}
> StatsSetupConst.setBasicStatsState(parameters, StatsSetupConst.FALSE);
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)