[ https://issues.apache.org/jira/browse/HIVE-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148421#comment-13148421 ]
Hudson commented on HIVE-2472: ------------------------------ Integrated in Hive-trunk-h0.21 #1076 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1076/]) HIVE-2472. Metastore statistics are not being updated for CTAS queries. (Robert Surowka via Ning Zhang) nzhang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1200744 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMRFileSink1.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateTableDesc.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadFileDesc.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/PlanUtils.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/StatsWork.java * /hive/trunk/ql/src/test/queries/clientpositive/ctas.q * /hive/trunk/ql/src/test/queries/clientpositive/merge3.q * /hive/trunk/ql/src/test/results/clientpositive/ctas.q.out * /hive/trunk/ql/src/test/results/clientpositive/database.q.out * /hive/trunk/ql/src/test/results/clientpositive/merge3.q.out * /hive/trunk/ql/src/test/results/clientpositive/rcfile_createas1.q.out * /hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin9.q.out > 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 > Fix For: 0.9.0 > > Attachments: HIVE-2472.1.patch.txt, HIVE-2472.2.patch, > HIVE-2472.3.patch, HIVE-2472.4.patch, HIVE-2472.5.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