[
https://issues.apache.org/jira/browse/HIVE-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zheng Shao resolved HIVE-205.
-----------------------------
Resolution: Duplicate
> file sink operator needs unique file names
> ------------------------------------------
>
> Key: HIVE-205
> URL: https://issues.apache.org/jira/browse/HIVE-205
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Zheng Shao
> Priority: Critical
>
> a query like "SELECT * FROM (SELECT 'a' from table UNION ALL SELECT 'b' from
> table) c" will fail, because the 2 sub queries of "UNION" will be executed
> inside the same mapper (because the input is the same) towards the same
> destination table, and the 2 file sink operators will have the same output
> file name.
> We need to append the file sink operator id to the file name to make it
> unique.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.