[
https://issues.apache.org/jira/browse/HIVE-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079004#comment-13079004
]
[email protected] commented on HIVE-2343:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1279/
-----------------------------------------------------------
Review request for Ning Zhang.
Summary
-------
table stats were not being updated for non "load table desc" plans due to NPE.
This addresses bug hive-2343.
https://issues.apache.org/jira/browse/hive-2343
Diffs
-----
trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java 1153601
trunk/ql/src/test/queries/clientpositive/stats16.q PRE-CREATION
trunk/ql/src/test/results/clientpositive/stats16.q.out PRE-CREATION
Diff: https://reviews.apache.org/r/1279/diff
Testing
-------
all clientpositive/stats* unit tests pass
Thanks,
Franklin
> stats not updated for non "load table desc" operations
> ------------------------------------------------------
>
> Key: HIVE-2343
> URL: https://issues.apache.org/jira/browse/HIVE-2343
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Franklin Hu
> Assignee: Franklin Hu
> Fix For: 0.8.0
>
> Attachments: hive-2343.1.patch
>
>
> Bug introduced in HIVE-306 so that stats are updated only for LoadTableDesc
> operations. For other operations (analyze table), null ptr is thrown and
> stats are not updated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira