[
https://issues.apache.org/jira/browse/CARBONDATA-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
anubhav tarar updated CARBONDATA-582:
-------------------------------------
Affects Version/s: 1.0.0-incubating
Environment: cluster
Priority: Minor (was: Major)
> Able to create table When Number Of Buckets is Given in negative
> ----------------------------------------------------------------
>
> Key: CARBONDATA-582
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-582> Project: CarbonData
> Issue Type: Bug
> Affects Versions: 1.0.0-incubating
> Environment: cluster
> Reporter: anubhav tarar
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> In carbon data i create a table with number of buckets specified as a negative number
> here are the logs
> jdbc:hive2://localhost:10000>
> CREATE TABLE BucketTest1111352983(name int,ID string)USING org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="-1", "bucketcolumns"="name1");
> +---------+--+
> | Result |
> +---------+--+
> +---------+--+
> No rows selected (0.277 seconds)
> this is because there is no check whether the bucket number given is positive or not
> in hive it gives a error
> here are the logs in hive
> hive> CREATE TABLE BucketTest1111352983(name int,ID string)USING org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="-1", "bucketcolumns"="name1");
> +---------+--+
> | Result |
> +---------+--+
> +---------+--+
> No rows selected (0.277 seconds)
> in carbon data as well it should not allow this
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)