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

Hyukjin Kwon updated SPARK-37177:
---------------------------------
    Component/s:     (was: Spark Core)
                 SQL

> Support LONG argument to the Spark SQL LIMIT clause
> ---------------------------------------------------
>
>                 Key: SPARK-37177
>                 URL: https://issues.apache.org/jira/browse/SPARK-37177
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Douglas Moore
>            Priority: Major
>
> Big data sets may exceed INT max thus Limit clause in Spark SQL `LIMIT 
> <integer_expression>` should be expanded to support <long_expressions>. 
> Thus
>  `SELECT * FROM <table> LIMIT 20000000000` would run and not return an error.
>  
> See docs: 
> [https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-limit.html]
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to