[
https://issues.apache.org/jira/browse/CARBONDATA-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ravindra Pesala resolved CARBONDATA-2630.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 1.4.1
> Alter table set Table comment is throwing exception in spark-2.2 cluster
> ------------------------------------------------------------------------
>
> Key: CARBONDATA-2630
> URL: https://issues.apache.org/jira/browse/CARBONDATA-2630
> Project: CarbonData
> Issue Type: Improvement
> Reporter: Rahul Kumar
> Assignee: Rahul Kumar
> Priority: Minor
> Fix For: 1.4.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> *PreCondition :* ]started spark-2.2 cluster and launched beeline
> *Test step:*
> *1.* Create Table sample_comment5 (id int,dim1 string,name string,tech
> string,measure int,amount int,dim2 string,M1 int,dim3 string,M2 int,dim4
> string,dim5 string,M3 int,dim6 string,dim7 string,M4 int,dim8 string,dim9
> string,M5 int,dim10 string,dim11 string,dim12 string,M6 int,dim13
> string,dim14 string,dim15 string,M7 int,dim16 string,dim17 string,dim18
> string,dim19 string) CoMMent "@" STORED BY 'org.apache.carbondata.format';
> *2.* alter table sample_comment5 SET TBLPROPERTIES(comment="malathi");
> *Expected Output:*comment should have been updated
> *Actual Output:*Error: java.lang.RuntimeException: Alter table properties
> operation failed: org.apache.spark.sql.SparkSession cannot be cast to
> org.apache.spark.sql.CarbonSession (state=,code=0)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)