carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [carbondata] shivamasn commented on a change in pull request #3387: [WIP] [TEST] Added testcases for multiple scenario
Date Fri, 04 Oct 2019 11:18:31 GMT
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

Mime
View raw message