hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3917) Support noscan operation for analyze command
Date Mon, 04 Feb 2013 07:22:13 GMT

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

Hudson commented on HIVE-3917:
------------------------------

Integrated in Hive-trunk-hadoop2 #105 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/105/])
    HIVE-3917 Support noscan operation for analyze command
(Gang Tim Liu via namit) (Revision 1441938)

     Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1441938
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMRTableScan1.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ColumnStatsSemanticAnalyzer.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/QBParseInfo.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/StatsWork.java
* /hive/trunk/ql/src/test/queries/clientnegative/stats_noscan_non_native.q
* /hive/trunk/ql/src/test/queries/clientpositive/stats_noscan_1.q
* /hive/trunk/ql/src/test/queries/clientpositive/stats_noscan_2.q
* /hive/trunk/ql/src/test/results/clientnegative/stats_noscan_non_native.q.out
* /hive/trunk/ql/src/test/results/clientpositive/stats_noscan_1.q.out
* /hive/trunk/ql/src/test/results/clientpositive/stats_noscan_2.q.out

                
> Support noscan operation for analyze command
> --------------------------------------------
>
>                 Key: HIVE-3917
>                 URL: https://issues.apache.org/jira/browse/HIVE-3917
>             Project: Hive
>          Issue Type: Improvement
>          Components: Statistics
>    Affects Versions: 0.11.0
>            Reporter: Gang Tim Liu
>            Assignee: Gang Tim Liu
>             Fix For: 0.11.0
>
>         Attachments: HIVE-3917.patch.1, HIVE-3917.patch.2, HIVE-3917.patch.3, HIVE-3917.patch.4
>
>
> hive supports analyze command to gather statistics from existing tables/partition https://cwiki.apache.org/confluence/display/Hive/StatsDev#StatsDev-ExistingTables
> It collects:
> 1. Number of Rows
> 2. Number of files
> 3. Size in Bytes
> If table/partition is big, the operation would take time since it will open all files
and scan all data.
> It would be nice to support fast operation to gather statistics which doesn't require
to open all files:
> 1. Number of files
> 2. Size in Bytes
> Potential syntax is 
> ANALYZE TABLE tablename [PARTITION(partcol1[=val1], partcol2[=val2], ...)] COMPUTE STATISTICS
[noscan];
> In the future, all statistics without scan can be retrieved via this optional parameter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message