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

Edward Capriolo commented on HIVE-4584:
---------------------------------------

{quote}
CREATE TABLE X (int y);
SELECT avg(y) from X ; 
{quote}

I can make a test case to see if it happens in the test framework but real 
world it happens quit often.
                
> CombineHiveInputFormat queries hang when table is empty and aggregation 
> function is used
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-4584
>                 URL: https://issues.apache.org/jira/browse/HIVE-4584
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Edward Capriolo
>            Priority: Blocker
>
> Running hadoop 0.20.2. Hive 0.10. The new default is combined input format. 
> When you aggregate and empty table, or a table not empty with an empty 
> partition the query produces 0 maps and 1 reduce and hangs forever. 

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

Reply via email to