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

Davies Liu resolved SPARK-13310.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

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

> Missing Sorting Columns in Generate
> -----------------------------------
>
>                 Key: SPARK-13310
>                 URL: https://issues.apache.org/jira/browse/SPARK-13310
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>             Fix For: 2.0.0
>
>
> {code}
>       // case 1: missing sort columns are resolvable if join is true
>       sql("SELECT explode(a) AS val, b FROM data WHERE b < 2 order by val, c")
>       // case 2: missing sort columns are not resolvable if join is false. 
> Thus, issue a message in this case
>       sql("SELECT explode(a) AS val FROM data order by val, c")
> {code}



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