[
https://issues.apache.org/jira/browse/SPARK-27767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16843295#comment-16843295
]
Xiao Li commented on SPARK-27767:
---------------------------------
This is similar to what Spark provides: range.
{code:java}
SELECT * FROM generate_series(1,3)
{code}
can be rewritten to
{code:java}
SELECT * FROM range(1,4)
{code}
> Built-in function: generate_series
> ----------------------------------
>
> Key: SPARK-27767
> URL: https://issues.apache.org/jira/browse/SPARK-27767
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Xiao Li
> Priority: Major
>
> [https://www.postgresql.org/docs/9.1/functions-srf.html]
> generate_series(start, stop): Generate a series of values, from start to stop
> with a step size of one
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]