[
https://issues.apache.org/jira/browse/CARBONDATA-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ajantha Bhat updated CARBONDATA-4068:
-------------------------------------
Fix Version/s: (was: 2.2.0)
2.1.1
> Alter table set long string should not allowed on SI column.
> ------------------------------------------------------------
>
> Key: CARBONDATA-4068
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-4068> Project: CarbonData
> Issue Type: Bug
> Reporter: Nihal kumar ojha
> Priority: Major
> Fix For: 2.1.1
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> # Create table and create SI.
> # Now try to set the column data type to long string on which SI is created.
> Operation should not be allowed because we don't support SI on long string.
> create table maintable (a string,b string,c int) STORED AS carbondata;
> create index indextable on table maintable(b) AS 'carbondata';
> insert into maintable values('k','x',2);
> ALTER TABLE maintable SET TBLPROPERTIES('long_String_columns'='b');
--
This message was sent by Atlassian Jira
(v8.3.4#803005)