You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/08/12 10:13:20 UTC

[jira] [Assigned] (SPARK-17034) Ordinal in ORDER BY or GROUP BY should be treated as an unresolved expression

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

Apache Spark reassigned SPARK-17034:
------------------------------------

    Assignee:     (was: Apache Spark)

> Ordinal in ORDER BY or GROUP BY should be treated as an unresolved expression
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-17034
>                 URL: https://issues.apache.org/jira/browse/SPARK-17034
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Sean Zhong
>
> Ordinals in GROUP BY or ORDER BY like "1" in "order by 1" or "group by 1" should be considered as unresolved before analysis. But in current code, it uses "Literal" expression to store the ordinal. This is inappropriate as "Literal" itself is a resolved expression, it gives the user a wrong message that the ordinals has already been resolved.



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

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