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

Zheng Shao commented on HIVE-308:
---------------------------------

Explain extended also shows 2 file sink operator. But it's possible that there 
is only 2 and get displayed TWICE (and also initialized TWICE during query 
execution)


> UNION ALL should create different destination directories for different 
> operands
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-308
>                 URL: https://issues.apache.org/jira/browse/HIVE-308
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Zheng Shao
>            Priority: Blocker
>
> The following query hangs:
> {code} 
> select * from (select 1 from zshao_lazy union all select 2 from zshao_lazy) a;
> {code} 
> The following query produce wrong results: (one map-reduce job 
> overwrite/cannot overwrite the result of the other)
> {code} 
> select * from (select 1 as id from zshao_lazy cluster by id union all select 
> 2 as id from zshao_meta) a;
> {code} 
> The reason of both is that the destination directory of the file sink 
> operator conflicts with each other.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to