Indhumathi27 commented on a change in pull request #3387: [WIP] [TEST] Added testcases for multiple scenario
URL:
https://github.com/apache/carbondata/pull/3387#discussion_r330995888
##########
File path: datamap/mv/core/src/test/scala/org/apache/carbondata/mv/rewrite/TestAllOperationsOnMV.scala
##########
@@ -614,6 +615,16 @@ class TestAllOperationsOnMV extends QueryTest with BeforeAndAfterEach {
assert(!cacheAfterDrop.asScala.exists(key => key.startsWith(mvPath)))
}
+ test("test case insensitive create & drop mv command") {
+ sql("drop table IF EXISTS mv_case_insensitive")
+ sql("create table mv_Case_InSenSitive(name string, age int) stored by 'carbondata'")
+ sql("insert into mv_case_insensitive select 'aa',20")
+ sql("insert into mv_Case_InSenSitive select 'aa',20")
+ sql("drop datamap if exists dm_InSenSitive ")
+ sql("create datamap dm_Insensitive using 'mv' as select name from mv_case_insensitive group by name")
+ sql("drop datamap dm_InSenSitive ")
Review comment:
Execute select queries and verify with case_insensitive table name
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services