Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/512#discussion_r95524878
  
    --- Diff: 
integration/spark2/src/test/scala/org/apache/spark/carbondata/bucketing/TableBucketingTestCase.scala
 ---
    @@ -63,6 +65,23 @@ class TableBucketingTestCase extends QueryTest with 
BeforeAndAfterAll {
         }
       }
     
    +  test("must be unable to create if number of buckets is in negative 
number"){
    +    try {
    +      sql(
    +        """
    +           CREATE TABLE t9
    +           (ID Int, date Timestamp, country String,
    +           name String, phonetype String, serialname String, salary Int)
    +           USING org.apache.spark.sql.CarbonSource
    +           OPTIONS("bucketnumber"="-1", "bucketcolumns"="name", 
"tableName"="t9")
    +      """)
    +      assert(false)
    +      }
    +    catch {
    --- End diff --
    
    move to previous line


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to