You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ajantha Bhat (Jira)" <ji...@apache.org> on 2021/03/17 03:00:00 UTC

[jira] [Updated] (CARBONDATA-4069) Alter table set streaming=true should not be allowed on SI table or table having SI.

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

Ajantha Bhat updated CARBONDATA-4069:
-------------------------------------
    Fix Version/s:     (was: 2.2.0)
                   2.1.1

> Alter table set streaming=true should not be allowed on SI table or table having SI.
> ------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-4069
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4069
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Nihal kumar ojha
>            Priority: Major
>             Fix For: 2.1.1
>
>          Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> # Create carbon table and SI .
>  # Now set streaming = true on either SI table or main table.
> Both the operation should not be allowed because SI is not supported on streaming table.
>  
> create table maintable2 (a string,b string,c int) STORED AS carbondata;
> insert into maintable2 values('k','x',2);
> create index m_indextable on table maintable2(b) AS 'carbondata';
> ALTER TABLE maintable2 SET TBLPROPERTIES('streaming'='true');  => operation should not be allowed.
> ALTER TABLE m_indextable SET TBLPROPERTIES('streaming'='true') => operation should not be allowed.



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