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

    https://github.com/apache/carbondata/pull/2575#discussion_r205969751
  
    --- 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 --
    
    simply i have created a table in spark-2.2 cluster and after load , 
updating the record it goes to rewrite the plan. even no datamap created on the 
same table.


---

Reply via email to