[ https://issues.apache.org/jira/browse/HIVE-5690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186316#comment-14186316 ]
Gunther Hagleitner commented on HIVE-5690: ------------------------------------------ [~navis] - since you marked this an improvement not a fix, I've set the target 0.15.0, not 0.14.0. Is that ok with you? > Support subquery for single sourced multi query > ----------------------------------------------- > > Key: HIVE-5690 > URL: https://issues.apache.org/jira/browse/HIVE-5690 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Navis > Assignee: Navis > Priority: Critical > Fix For: 0.14.0 > > Attachments: D13791.1.patch, HIVE-5690.10.patch.txt, > HIVE-5690.11.patch.txt, HIVE-5690.12.patch.txt, HIVE-5690.13.patch.txt, > HIVE-5690.14.patch.txt, HIVE-5690.2.patch.txt, HIVE-5690.3.patch.txt, > HIVE-5690.4.patch.txt, HIVE-5690.5.patch.txt, HIVE-5690.6.patch.txt, > HIVE-5690.7.patch.txt, HIVE-5690.8.patch.txt, HIVE-5690.9.patch.txt > > > Single sourced multi (insert) query is very useful for various ETL processes > but it does not allow subqueries included. For example, > {noformat} > explain from src > insert overwrite table x1 select * from (select distinct key,value) b order > by key > insert overwrite table x2 select * from (select distinct key,value) c order > by value; > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)