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

Pawan Malwal updated CARBONDATA-3076:
-------------------------------------
    Environment: Spark2.1
    Description: 
1. Create streaming table.

CREATE TABLE table_st(CUST_ID String,CUST_NAME String) STORED BY 
'org.apache.carbondata.format' TBLPROPERTIES('streaming'='true');

2. Alter table to set 'streaming'='false'

alter table table_st set tblproperties('streaming'='false');

_Alter table throws below exception_

_Error: 
org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
Streaming property can not be changed once it is 'true' (state=,code=0)_

  was:
Create streaming table.

CREATE TABLE table_st(CUST_ID String,CUST_NAME String) STORED BY 
'org.apache.carbondata.format' TBLPROPERTIES('streaming'='true');

Alter table 


> Set streaming=false not working for streaming table.
> ----------------------------------------------------
>
>                 Key: CARBONDATA-3076
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3076
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-query
>    Affects Versions: 1.5.1
>         Environment: Spark2.1
>            Reporter: Pawan Malwal
>            Priority: Minor
>
> 1. Create streaming table.
> CREATE TABLE table_st(CUST_ID String,CUST_NAME String) STORED BY 
> 'org.apache.carbondata.format' TBLPROPERTIES('streaming'='true');
> 2. Alter table to set 'streaming'='false'
> alter table table_st set tblproperties('streaming'='false');
> _Alter table throws below exception_
> _Error: 
> org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
> Streaming property can not be changed once it is 'true' (state=,code=0)_



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to