[ https://issues.apache.org/jira/browse/HIVE-10875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374215#comment-15374215 ]
niklaus xiao edited comment on HIVE-10875 at 7/13/16 2:36 AM: -------------------------------------------------------------- Seems this query has the same issue {code} select * from V union all select * from V; {code} [~thejas] Can you take a look? was (Author: niklaus.xiao): Seems this query has the same issue {code} select * from V union all select * from V; {/code} [~thejas] Can you take a look? > Select query with view in subquery adds underlying table as direct input > ------------------------------------------------------------------------ > > Key: HIVE-10875 > URL: https://issues.apache.org/jira/browse/HIVE-10875 > Project: Hive > Issue Type: Bug > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Fix For: 1.2.1 > > Attachments: HIVE-10875.1.patch, HIVE-10875.2.patch > > > In the following case, > {code} > create view V as select * from T; > select * from (select * from V) A; > {code} > The semantic analyzer inputs contain input table T as a direct input instead > of adding it as an indirect input. -- This message was sent by Atlassian JIRA (v6.3.4#6332)