kumarvishal09 commented on a change in pull request #3179: [CARBONDATA-3338] Support Incremental DataLoad for MV Datamap[with single parent table]
URL:
https://github.com/apache/carbondata/pull/3179#discussion_r281194620
##########
File path: datamap/mv/core/src/main/scala/org/apache/carbondata/mv/datamap/MVAnalyzerRule.scala
##########
@@ -136,4 +139,29 @@ class MVAnalyzerRule(sparkSession: SparkSession) extends Rule[LogicalPlan] {
}
catalogs
}
+
+ /**
+ * Check if any segments are set for main table for Query. If any segments are set, then
+ * skip mv datamap table for query
+ */
+ def isSetMainTableSegments(catalogs: Seq[Option[CatalogTable]]): Boolean = {
Review comment:
Change the method name isSegmentSetForMainTable and return true if segment is set
----------------------------------------------------------------
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