Github user manishgupta88 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2990#discussion_r242837854
--- Diff:
integration/spark-common-test/src/test/scala/org/apache/carbondata/datamap/lucene/LuceneFineGrainDataMapSuite.scala
---
@@ -641,7 +641,7 @@ class LuceneFineGrainDataMapSuite extends QueryTest
with BeforeAndAfterAll {
val ex3 = intercept[MalformedCarbonCommandException] {
sql("alter table datamap_test7 change id id BIGINT")
}
- assert(ex3.getMessage.contains("alter table change datatype is not
supported"))
+ assert(ex3.getMessage.contains("alter table change datatype or column
rename is not supported"))
--- End diff --
Perform the validation separately for column rename and datatype change and
change the message as per change in the TableOperation enum
---