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

[jira] [Updated] (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 ]

Wenchen Fan updated SPARK-17034:
--------------------------------
    Assignee: Sean Zhong

> 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
>            Assignee: Sean Zhong
>             Fix For: 2.1.0
>
>
> 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