Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2575#discussion_r205946534
  
    --- Diff: 
datamap/mv/core/src/main/scala/org/apache/carbondata/mv/datamap/MVAnalyzerRule.scala
 ---
    @@ -80,7 +80,7 @@ class MVAnalyzerRule(sparkSession: SparkSession) extends 
Rule[LogicalPlan] {
       }
     
       def isValidPlan(plan: LogicalPlan, catalog: SummaryDatasetCatalog): 
Boolean = {
    -    !plan.isInstanceOf[Command] && !isDataMapExists(plan, 
catalog.listAllSchema()) &&
    +    !plan.isInstanceOf[Command] && isDataMapExists(plan, 
catalog.listAllSchema()) &&
    --- End diff --
    
    This check is wrong. what exactly the problem you are facing? can you add 
some test case


---

Reply via email to