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

Neha Bhardwaj updated CARBONDATA-1430:
--------------------------------------
    Affects Version/s: 1.2.0

> Split Partition Raises Exception when The New List Elements contains any 
> extra space.
> -------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-1430
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1430
>             Project: CarbonData
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>         Environment: spark 2.1
>            Reporter: Neha Bhardwaj
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Split Partition Raises Exception when The New List Elements contains any 
> extra space.
> 1. Create Table :
> DROP TABLE IF EXISTS list_partition_table_string;
> CREATE TABLE list_partition_table(shortField SHORT, intField INT, bigintField 
> LONG, doubleField DOUBLE, timestampField TIMESTAMP, decimalField 
> DECIMAL(18,2), dateField DATE, charField CHAR(5), floatField FLOAT, 
> complexData ARRAY<STRING> ) PARTITIONED BY (stringField STRING) STORED BY 
> 'carbondata' TBLPROPERTIES('PARTITION_TYPE'='LIST', 'LIST_INFO'='Asia, 
> (China, Europe, NoPartition)');
> 2. Split Partition : 
> ALTER TABLE list_partition_table SPLIT PARTITION(2) INTO ('China ','( Europe 
> , NoPartition )');
> Expected Output: The Partition should get split.
> Actual Output : Error: java.lang.RuntimeException: The elements in new list 
> must exist in original list (state=,code=0)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to