Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0374E200B65 for ; Wed, 13 Jul 2016 04:37:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 01EA7160A56; Wed, 13 Jul 2016 02:37:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 79716160A75 for ; Wed, 13 Jul 2016 04:37:21 +0200 (CEST) Received: (qmail 93155 invoked by uid 500); 13 Jul 2016 02:37:20 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 93130 invoked by uid 99); 13 Jul 2016 02:37:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2016 02:37:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7A4C62C02A5 for ; Wed, 13 Jul 2016 02:37:20 +0000 (UTC) Date: Wed, 13 Jul 2016 02:37:20 +0000 (UTC) From: "niklaus xiao (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HIVE-10875) Select query with view in subquery adds underlying table as direct input MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 13 Jul 2016 02:37:22 -0000 [ 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)