[
https://issues.apache.org/jira/browse/HIVE-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143477#comment-13143477
]
[email protected] commented on HIVE-2472:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2583/
-----------------------------------------------------------
(Updated 2011-11-03 19:46:23.842574)
Review request for Ning Zhang and Kevin Wilfong.
Summary
-------
Now table stats will be collected for CTAS queries.
This addresses bug HIVE-2472.
https://issues.apache.org/jira/browse/HIVE-2472
Diffs
-----
trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java 1196269
trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMRFileSink1.java
1196269
trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java
1196269
trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
1196269
trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateTableDesc.java 1196269
trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadFileDesc.java 1196269
trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/PlanUtils.java 1196269
trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/StatsWork.java 1196269
trunk/ql/src/test/results/clientpositive/ctas.q.out 1196269
trunk/ql/src/test/results/clientpositive/database.q.out 1196269
trunk/ql/src/test/results/clientpositive/merge3.q.out 1196269
trunk/ql/src/test/results/clientpositive/rcfile_createas1.q.out 1196269
trunk/ql/src/test/results/clientpositive/smb_mapjoin9.q.out 1196269
Diff: https://reviews.apache.org/r/2583/diff
Testing
-------
run ant tests with overwrite option, changes to out files are part of the diff
Thanks,
Robert
> Metastore statistics are not being updated for CTAS queries.
> ------------------------------------------------------------
>
> Key: HIVE-2472
> URL: https://issues.apache.org/jira/browse/HIVE-2472
> Project: Hive
> Issue Type: Bug
> Reporter: Kevin Wilfong
> Assignee: Robert Surówka
> Attachments: HIVE-2472.1.patch.txt, HIVE-2472.2.patch
>
>
> We need to add a Statistics task at the end of a CTAS query in order to
> update the metastore statistics for the table being created.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira