You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/07/04 18:12:11 UTC

[jira] [Assigned] (SPARK-16354) Negative Inputs In LIMIT or TABLESAMPLE

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

Apache Spark reassigned SPARK-16354:
------------------------------------

    Assignee: Apache Spark

> Negative Inputs In LIMIT or TABLESAMPLE
> ---------------------------------------
>
>                 Key: SPARK-16354
>                 URL: https://issues.apache.org/jira/browse/SPARK-16354
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Assignee: Apache Spark
>
> {noformat}
> SELECT * FROM testData TABLESAMPLE (-1 rows)
> SELECT * FROM testData LIMIT -1
> {noformat}
> Negative values should not be allowed in {{TABLESAMPLE n ROWS}} and {{LIMIT n}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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