You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Peter Toth (JIRA)" <ji...@apache.org> on 2019/08/14 12:35:00 UTC

[jira] [Updated] (SPARK-28731) Support limit on recursive queries

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

Peter Toth updated SPARK-28731:
-------------------------------
    Description: Recursive queries should support LIMIT and stop recursion if the required amount of rows are reached.  (was: PostgreSQL does support recursive view syntax:
{noformat}
CREATE RECURSIVE VIEW nums (n) AS
  VALUES (1)
  UNION ALL
  SELECT n+1 FROM nums WHERE n < 5
{noformat})

> Support limit on recursive queries
> ----------------------------------
>
>                 Key: SPARK-28731
>                 URL: https://issues.apache.org/jira/browse/SPARK-28731
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Peter Toth
>            Priority: Minor
>
> Recursive queries should support LIMIT and stop recursion if the required amount of rows are reached.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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