hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Commented] (HIVE-4186) NPE in ReduceSinkDeDuplication
Date Mon, 18 Mar 2013 18:58:17 GMT


Ashutosh Chauhan commented on HIVE-4186:

There is no file data/files/part_tiny.txt on trunk at the moment. However since this bug occur
during query compile phase, you don't need load data statement in any case. Even selecting
on empty table will demonstrate the problem. So, I will suggest to get rid of load data statement
from the patch for now.
> NPE in ReduceSinkDeDuplication
> ------------------------------
>                 Key: HIVE-4186
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Harish Butani
>         Attachments: HIVE-4186.1.patch.txt, HIVE-4186.2.patch.txt
> When you have a sequence of RedueSinks on constants you get this error:
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.hadoop.hive.ql.optimizer.ReduceSinkDeDuplication$ReduceSinkDeduplicateProcFactory$ReducerReducerProc.getPartitionAndKeyColumnMapping(
> {noformat}
> The e.g. to generate this si:
> {noformat}
> select p_name from (select p_name from part distribute by 1 sort by 1) p distribute by
1 sort by 1
> {noformat}
> Sorry for the contrived e.g., but this actually happens when we stack windowing clauses
(see PTF-Windowing branch)

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