kunal642 commented on a change in pull request #3177: [CARBONDATA-3337][CARBONDATA-3306] Distributed index server
URL:
https://github.com/apache/carbondata/pull/3177#discussion_r277705533
##########
File path: core/src/main/java/org/apache/carbondata/core/util/CarbonProperties.java
##########
@@ -1601,4 +1601,43 @@ private void validateDetailQueryBatchSize() {
}
}
}
+
+ public boolean isDistributedPruningEnabled(String dbName, String tableName) {
+ String configuredValue = getSessionPropertyValue(
+ CarbonCommonConstants.CARBON_ENABLE_INDEX_SERVER + "." + dbName + "." + tableName);
+ if (configuredValue == null) {
+ configuredValue = getProperty(CarbonCommonConstants.CARBON_ENABLE_INDEX_SERVER);
+ }
+ boolean isServerEnabledByUser = Boolean.parseBoolean(configuredValue);
+ if (isServerEnabledByUser) {
+ LOGGER.error("Distributed Index server is enabled for " + dbName + "." + tableName);
Review comment:
changed to info
----------------------------------------------------------------
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