carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anurag Srivastava (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CARBONDATA-612) Bucket table option does not throw error while using with Spark-1.6
Date Mon, 16 Jan 2017 13:11:26 GMT

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

Anurag Srivastava updated CARBONDATA-612:
-----------------------------------------
    Environment: Spark 1.6.2

> Bucket table option does not throw error while using with 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
>         Environment: Spark 1.6.2
>            Reporter: Anurag Srivastava
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Mime
View raw message