Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2255#discussion_r186350293
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/CarbonSession.scala ---
@@ -110,6 +110,14 @@ class CarbonSession(@transient val sc: SparkContext,
)
}
+ /**
+ * Return true if the specified sql statement will hit the datamap
+ */
+ def isDataMapHit(sqlStatement: String, dataMapName: String): Boolean = {
--- End diff --
fixed---
