[
https://issues.apache.org/jira/browse/SPARK-17069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15427469#comment-15427469
]
Reynold Xin commented on SPARK-17069:
-------------------------------------
I've also backported this into branch-2.0 since it is a small testing util.
> Expose spark.range() as table-valued function in SQL
> ----------------------------------------------------
>
> Key: SPARK-17069
> URL: https://issues.apache.org/jira/browse/SPARK-17069
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Reporter: Eric Liang
> Assignee: Eric Liang
> Priority: Minor
> Fix For: 2.0.1, 2.1.0
>
>
> The idea here is to create the spark.range( x ) equivalent in SQL, so we can
> do something like
> {noformat}
> select count(*) from range(10000)
> {noformat}
> This would be useful for sql-only testing and benchmarks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]