[ 
https://issues.apache.org/jira/browse/SPARK-11863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Armbrust resolved SPARK-11863.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

Issue resolved by pull request 9961
[https://github.com/apache/spark/pull/9961]

> Unable to resolve order by if it contains mixture of aliases and real columns.
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-11863
>                 URL: https://issues.apache.org/jira/browse/SPARK-11863
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.1
>            Reporter: Dilip Biswal
>             Fix For: 1.6.0
>
>
> Analyzer is unable to resolve order by if the columns in the order by clause 
> contains a mixture of alias and real column names.
> Example :
> var var3 = sqlContext.sql("select c1 as a, c2 as b from inttab group by c1, 
> c2 order by  b, c1")
> This used to work in 1.4 and is failing starting 1.5 and is affecting some 
> tpcds queries (19, 55,71)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to