Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-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 8CD7511B7C for ; Mon, 9 Jun 2014 05:35:31 +0000 (UTC) Received: (qmail 78293 invoked by uid 500); 9 Jun 2014 05:35:31 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 78269 invoked by uid 500); 9 Jun 2014 05:35:31 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 78260 invoked by uid 99); 9 Jun 2014 05:35:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2014 05:35:31 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Jun 2014 05:35:30 +0000 Received: (qmail 76272 invoked by uid 99); 9 Jun 2014 05:35:10 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2014 05:35:10 +0000 Date: Mon, 9 Jun 2014 05:35:10 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-813) When joining 2 views (v1 and v2), the order of columns is reverse MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Nadeau updated DRILL-813: --------------------------------- Component/s: (was: Execution - Flow) SQL Parser Assignee: Venki Korukanti > When joining 2 views (v1 and v2), the order of columns is reverse > ----------------------------------------------------------------- > > Key: DRILL-813 > URL: https://issues.apache.org/jira/browse/DRILL-813 > Project: Apache Drill > Issue Type: Bug > Components: SQL Parser > Reporter: Rahul Challapalli > Assignee: Venki Korukanti > Attachments: rankings.parquet, uservisits.parquet > > > git.commit.id.abbrev=70fab8c > create view v1 as select pageRank, pageURL, avgDuration from `dfs/parquet/rankings`; > create view v2 as select sourceIP, destinationURL, visitDate, adRevenue, userAgent, countryCode, languageCode, searchWord, duration from `dfs/parquet/uservisits`; > select * from v1 inner join v2 on v1.pageURL = v2.destinationURL; > Now the above select query displays the columns of v2 first followed by v1. The expected order should be cols of v1 followed by cols of v2. -- This message was sent by Atlassian JIRA (v6.2#6252)