You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gang Tim Liu (JIRA)" <ji...@apache.org> on 2013/01/29 20:27:13 UTC

[jira] [Created] (HIVE-3958) support partial scan for analyze command

Gang Tim Liu created HIVE-3958:
----------------------------------

             Summary: support partial scan for analyze command
                 Key: HIVE-3958
                 URL: https://issues.apache.org/jira/browse/HIVE-3958
             Project: Hive
          Issue Type: Improvement
            Reporter: Gang Tim Liu
            Assignee: Gang Tim Liu


analyze commands allows us to collect statistics on existing tables/partitions. It works great but might be slow since it scans all files.

There are 2 ways to speed it up:
1. collect stats without file scan. It may not collect all stats but good and fast enough for use case. Hive-3917 addresses it
2. collect stats via partial file scan. It doesn't scan all content of files but part of it to get file metadata. some examples are https://cwiki.apache.org/Hive/rcfilecat.html for RCFile, ORC ( HIVE-3874 ) and HFile of Hbase

This jira is targeted to address the #2

--
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