Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 296E0177C1 for ; Mon, 23 Feb 2015 08:09:12 +0000 (UTC) Received: (qmail 83507 invoked by uid 500); 23 Feb 2015 08:09:11 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 83486 invoked by uid 500); 23 Feb 2015 08:09:11 -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 83475 invoked by uid 99); 23 Feb 2015 08:09:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2015 08:09:11 +0000 Date: Mon, 23 Feb 2015 08:09:11 +0000 (UTC) From: "Navis (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-9734) Correlating expression cannot contain unqualified column references MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-9734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Navis updated HIVE-9734: ------------------------ Attachment: HIVE-9734.1.patch.txt > Correlating expression cannot contain unqualified column references > ------------------------------------------------------------------- > > Key: HIVE-9734 > URL: https://issues.apache.org/jira/browse/HIVE-9734 > Project: Hive > Issue Type: Bug > Components: SQL > Affects Versions: 0.14.0 > Reporter: N Campbell > Priority: Minor > Attachments: HIVE-9734.1.patch.txt > > > The following valid ISO-SQL constructs will not parse > Unsupported SubQuery Expression 'c1': Correlating expression cannot contain unqualified column references > The statement will parse if the predicate is changed to where tjoin1.c1 in ( ....) > select tjoin1.rnum, tjoin1.c1, tjoin1.c2 from tjoin1 where c1 in ( select c1 from tjoin1) > select tjoin1.rnum, tjoin1.c1, tjoin1.c2 from tjoin1 where c1 in ( select tjoin1.c1 from tjoin1) > select tjoin1.rnum, tjoin1.c1, tjoin1.c2 from tjoin1 where c1 in ( select x.c1 from tjoin1 x) -- This message was sent by Atlassian JIRA (v6.3.4#6332)