You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Venki Korukanti (JIRA)" <ji...@apache.org> on 2014/06/12 06:58:01 UTC

[jira] [Commented] (DRILL-813) When joining 2 views (v1 and v2), the order of columns is reverse

    [ https://issues.apache.org/jira/browse/DRILL-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028825#comment-14028825 ] 

Venki Korukanti commented on DRILL-813:
---------------------------------------

Not able to repro on latest master. Please retest.

> 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
>             Fix For: 1.0.0-BETA1
>
>         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)