VenuReddy2103 commented on a change in pull request #4110:
URL: https://github.com/apache/carbondata/pull/4110#discussion_r609354461
##########
File path:
core/src/main/java/org/apache/carbondata/core/util/CarbonProperties.java
##########
@@ -2187,6 +2187,24 @@ public static boolean isFilterReorderingEnabled() {
);
}
+ /**
+ * Check whether plan rewrite with secondary index is enabled or not
+ */
+ public boolean isRewritePlanWithSecondaryIndex(String dbName, String
tableName) {
+ String configuredValue = getSessionPropertyValue(
Review comment:
Modified. Actually, was setting the property only for spark session. So
the property name(rewrite plan) was meaningful only for spark.
Now changed the property to `carbon.coarse.grain.secondary.index` so that it
can be used for both presto and spark. Default value in Presto and Spark
session are `true` and `false` respectively.
--
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:
[email protected]