Nihal kumar ojha created CARBONDATA-4068:
--------------------------------------------

             Summary: 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


# 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)

Reply via email to