http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Resolved-CARBONDATA-4068-Alter-table-set-long-string-should-not-allowed-on-SI-column-tp104787.html
Indhumathi Muthu Murugesh resolved CARBONDATA-4068.
> 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.2.0
>
> 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');