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

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

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

Akash R Nilugal (Jira)
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)