You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Nihal kumar ojha (Jira)" <ji...@apache.org> on 2020/12/04 06:54:00 UTC

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

Nihal kumar ojha created CARBONDATA-4069:
--------------------------------------------

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


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