You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/10/04 11:18:31 UTC

[GitHub] [carbondata] shivamasn commented on a change in pull request #3387: [WIP] [TEST] Added testcases for multiple scenario

shivamasn commented on a change in pull request #3387: [WIP] [TEST] Added testcases for multiple scenario
URL: https://github.com/apache/carbondata/pull/3387#discussion_r331453142
 
 

 ##########
 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:
   @Indhumathi27 Done.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services