[
https://issues.apache.org/jira/browse/CARBONDATA-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Babulal updated CARBONDATA-1152:
--------------------------------
Description:
create table test (id String,first_name String,last_name String,email String,ip_address String) PARTITIONED BY (gender String) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES('PARTITION_TYPE'='LIST', 'LIST_INFO'='Male, Female')
load data local inpath 'D:/data/MOCK_DATA.csv' into table test")
In Load All the data are loaded in default partition .
Root Cause :- in CarbonSparkSqlParser List values converted to lower case so in comparison fail at getpartition method and all records goes to default partition .
was:
create table test (id String,first_name String,last_name String,email String,ip_address String) PARTITIONED BY (gender String) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES('PARTITION_TYPE'='LIST', 'LIST_INFO'='Male, Female')
load data local inpath 'D:/data/MOCK_DATA.csv' into table test")
In Load All the data are loaded in default partition .
> List partition not working properly
> ------------------------------------
>
> Key: CARBONDATA-1152
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-1152> Project: CarbonData
> Issue Type: Bug
> Reporter: Babulal
> Assignee: Babulal
> Attachments: MOCK_DATA.csv
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> create table test (id String,first_name String,last_name String,email String,ip_address String) PARTITIONED BY (gender String) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES('PARTITION_TYPE'='LIST', 'LIST_INFO'='Male, Female')
> load data local inpath 'D:/data/MOCK_DATA.csv' into table test")
> In Load All the data are loaded in default partition .
> Root Cause :- in CarbonSparkSqlParser List values converted to lower case so in comparison fail at getpartition method and all records goes to default partition .
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)