http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Resolved-CARBONDATA-4069-Alter-table-set-streaming-true-should-not-be-allowed-on-SI-table-or-ta-tp104788.html
Indhumathi Muthu Murugesh resolved CARBONDATA-4069.
> 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.2.0
>
> 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.