spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-20311) SQL "range(N) as alias" or "range(N) alias" doesn't work
Date Tue, 09 May 2017 21:52:04 GMT

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

Apache Spark reassigned SPARK-20311:
------------------------------------

    Assignee: Apache Spark  (was: Takeshi Yamamuro)

> SQL "range(N) as alias" or "range(N) alias" doesn't work
> --------------------------------------------------------
>
>                 Key: SPARK-20311
>                 URL: https://issues.apache.org/jira/browse/SPARK-20311
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Juliusz Sompolski
>            Assignee: Apache Spark
>            Priority: Minor
>
> `select * from range(10) as A;` or `select * from range(10) A;`
> does not work.
> As a workaround, a subquery has to be used:
> `select * from (select * from range(10)) as A;`



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message