hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2324) Enhancing local mode execution with non-HDFS related queries
Date Fri, 29 Jul 2011 18:52:09 GMT

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

John Sichi commented on HIVE-2324:
----------------------------------

Currently the HBase handler returns 0 from its splits' getLength(), because that's what the
underlying HBase TableSplit implementation does, so it's in this category too.

> Enhancing local mode execution with non-HDFS related queries 
> -------------------------------------------------------------
>
>                 Key: HIVE-2324
>                 URL: https://issues.apache.org/jira/browse/HIVE-2324
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Ning Zhang
>
> Local mode execution are decided based on the input size. There are queries that do not
involve data resides in HDFS at all. We should enhance local mode execution with these types
of queries:
> 1) metadata only queries (HIVE-178, HIVE-1003). eg.,
> {code}
>   SELECT max(ds) From T WHERE ts = 'some_partition';  -- both ds and ts are partition
columns
> {code}
> 2) DUAL table (HIVE-1558):
> {code}
>   SELECT MYUDF('constant1', 'constant2') FROM DUAL;
>   SELECT MYUDAF(...) FROM ( SELECT 'const1' col1, 'const2' col2 FROM DUAL ) A GROUP BY
col1;
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message