[
https://issues.apache.org/jira/browse/CARBONDATA-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yahui Liu updated CARBONDATA-4303:
----------------------------------
Description:
Following insert will have null value:
CREATE TABLE select_from (i int, b string) stored as carbondata;
CREATE TABLE table1 (i int) partitioned by (a int, b string) stored as
carbondata;
insert into table select_from select 1, 'a';
insert into table table1 partition(a='100',b) select 1, b from select_from;
select * from table1;
Expected:
1, 100, a
Actual result:
1, 100, null
was:
Following insert will have null value:
CREATE TABLE select_from (i int, b string) stored as carbondata;
CREATE TABLE table1 (i int) partitioned by (a int, b string) stored as
carbondata;
insert into table select_from select 1, 'a'
insert into table table1 partition(a='100',b) select 1, b from select_from;
select * from table1;
Expected:
1, 100, a
Actual result:
1, 100, null
> Columns mismatch when insert into table with static partition
> -------------------------------------------------------------
>
> Key: CARBONDATA-4303
> URL: https://issues.apache.org/jira/browse/CARBONDATA-4303
> Project: CarbonData
> Issue Type: Bug
> Components: spark-integration
> Reporter: Yahui Liu
> Priority: Minor
>
> Following insert will have null value:
> CREATE TABLE select_from (i int, b string) stored as carbondata;
> CREATE TABLE table1 (i int) partitioned by (a int, b string) stored as
> carbondata;
> insert into table select_from select 1, 'a';
> insert into table table1 partition(a='100',b) select 1, b from select_from;
> select * from table1;
> Expected:
> 1, 100, a
> Actual result:
> 1, 100, null
--
This message was sent by Atlassian Jira
(v8.3.4#803005)