[jira] [Resolved] (CARBONDATA-4068) Alter table set long string should not allowed on SI column.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (CARBONDATA-4068) Alter table set long string should not allowed on SI column.

Akash R Nilugal (Jira)

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

Indhumathi Muthu Murugesh resolved CARBONDATA-4068.
---------------------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

> 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');



--
This message was sent by Atlassian Jira
(v8.3.4#803005)