[
https://issues.apache.org/jira/browse/CARBONDATA-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
anubhav tarar updated CARBONDATA-582:
-------------------------------------
Description:
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)
was:In carbon data i create a table with number of buckets specified as a negative
> 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
> Reporter: anubhav tarar
>
> 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)
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)