Dilip Biswal created SPARK-11863:
------------------------------------

             Summary: 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


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