hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1648) Automatically gathering stats when reading a table/partition
Date Tue, 23 Nov 2010 01:08:14 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934682#action_12934682
] 

Namit Jain commented on HIVE-1648:
----------------------------------

In SemanticAnalyzer:addStatsTask:

 } else {
6177	              List<Node> children = (List<Node>) op.getChildren();
6178	              if (children != null) {
6179	                for (Node child : children) {
6180	                  opsToProcess.add((Operator<? extends Serializable>) child);
6181	                }
6182	              }


why is the above code block needed ? TableScan can only be at the top.


Also, can you check for Conditional Tasks in addition to MapRedTask ?


> Automatically gathering stats when reading a table/partition
> ------------------------------------------------------------
>
>                 Key: HIVE-1648
>                 URL: https://issues.apache.org/jira/browse/HIVE-1648
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Ning Zhang
>            Assignee: Paul Butler
>         Attachments: HIVE-1648.2.patch, HIVE-1648.3.patch, HIVE-1648.patch
>
>
> HIVE-1361 introduces a new command 'ANALYZE TABLE T COMPUTE STATISTICS' to gathering
stats. This requires additional scan of the data. Stats gathering can be piggy-backed on TableScanOperator
whenever a table/partition is scanned (given not LIMIT operator). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message