[
https://issues.apache.org/jira/browse/CARBONDATA-599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
anubhav tarar updated CARBONDATA-599:
-------------------------------------
Environment:
spark 2.1 single node
cluster
was:
spark 2.0 single node
cluster
> should not be able to create table when number of bucket is precedded with arthematic operators
> -----------------------------------------------------------------------------------------------
>
> Key: CARBONDATA-599
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-599> Project: CarbonData
> Issue Type: Bug
> Components: spark-integration
> Affects Versions: 1.0.0-incubating
> Environment: spark 2.1 single node
> cluster
> Reporter: anubhav tarar
> Priority: Minor
>
> when i created a table in carbon data it works even if arthematic number precedded the bucketnumber
> here are the logs
> spark.sql("""CREATE TABLE bugs(ID string)USING org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="+1","bucketcolumns"="ID","tableName"="bugs")""");
> WARN 05-01 17:40:31,912 - Couldn't find corresponding Hive SerDe for data source provider org.apache.spark.sql.CarbonSource. Persisting data source table `default`.`bugs5` into Hive metastore in Spark SQL specific format, which is NOT compatible with Hive.
> res0: org.apache.spark.sql.DataFrame = []
> but in hive it gives exception
> here are logs ====
> hive> CREATE TABLE test888(user_id BIGINT, firstname STRING, lastname STRING)
> > CLUSTERED BY(user_id) INTO +1 BUCKETS;
> FAILED: ParseException line 2:27 extraneous input '+' expecting Number near '<EOF>'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)