allenma commented on a change in pull request #290: KYLIN-3632 Add 
configuration that can switch on/off preparedStatement cache
URL: https://github.com/apache/kylin/pull/290#discussion_r225784650
 
 

 ##########
 File path: 
core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
 ##########
 @@ -1457,6 +1457,10 @@ public int getQueryMaxCacheStatementInstancePerKey() {
         return 
Integer.parseInt(this.getOptional("kylin.query.statement-cache-max-num-per-key",
 String.valueOf(50)));
     }
 
+    public boolean isQueryPreparedStatementCacheEnable() {
+        return 
Boolean.parseBoolean(this.getOptional("kylin.query.statement-cache-enabled", 
"false"));
 
 Review comment:
   Sure

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to