[ https://issues.apache.org/jira/browse/SPARK-16354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360442#comment-15360442 ]
Sandeep Singh commented on SPARK-16354: --------------------------------------- [~smilegator] What should be the expected behaviour, a Failure or 0 rows ? > 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 > > {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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org