[jira] [Updated] (CARBONDATA-612) Bucket is not support in Spark-1.6

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (CARBONDATA-612) Bucket is not support in Spark-1.6

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anurag Srivastava updated CARBONDATA-612:
-----------------------------------------
    Description:
I am trying to use bucket feature on Spark-1.6 and It create table on Spark-1.6 but as I know that Bucket functionality support from Spark-2.x.

*Query :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),ACTIVE_EMUI_VERSION string, DOB date, DOJ date, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES ("bucketnum"="2", "bucketcolumns"="cust_name,DOB","tableName"="uniqdata");

It creates table successfully in Spark-1.6 . But as I mention earlier bucket functionality introduce in Spark-2.x, so when we are trying to create table with bucket in Spark-1.6, it should provide error message.

  was:
I am trying to use bucket feature on Spark-1.6 and It create table on Spark-1.6 but as I know that Bucket functionality support from Spark-2.x.

So when we are trying to create table with bucket in Spark-1.6, it should provide error message.


> Bucket is not support in Spark-1.6
> ----------------------------------
>
>                 Key: CARBONDATA-612
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-612
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-query
>    Affects Versions: 1.0.0-incubating
>            Reporter: Anurag Srivastava
>            Priority: Minor
>
> I am trying to use bucket feature on Spark-1.6 and It create table on Spark-1.6 but as I know that Bucket functionality support from Spark-2.x.
> *Query :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),ACTIVE_EMUI_VERSION string, DOB date, DOJ date, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES ("bucketnum"="2", "bucketcolumns"="cust_name,DOB","tableName"="uniqdata");
> It creates table successfully in Spark-1.6 . But as I mention earlier bucket functionality introduce in Spark-2.x, so when we are trying to create table with bucket in Spark-1.6, it should provide error message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)