hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gang Tim Liu (JIRA)" <>
Subject [jira] [Commented] (HIVE-3917) Support fast operation for analyze command
Date Sat, 19 Jan 2013 18:30:13 GMT


Gang Tim Liu commented on HIVE-3917:

Great points, thank you very much.

Yes, hdfs is focus. We will give nice messages in case of hbase, Cassandra etc

Yeah, Let us see if we can come up with a better name than noscan. So far it looks like good
fit :)

Thanks again

Sent from my iPhone 

> Support fast operation for analyze command
> ------------------------------------------
>                 Key: HIVE-3917
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Statistics
>    Affects Versions: 0.11.0
>            Reporter: Gang Tim Liu
>            Assignee: Gang Tim Liu
> hive supports analyze command to gather statistics from existing tables/partition
> 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
> 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:

View raw message