Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.0-alpha
-
None
Description
Design
Optimize org.apache.calcite.adapter.enumerable.EnumerableInterpretable#getBindable with cache.
Cherry-pick from https://github.com/apache/calcite/pull/950, Calcite 1.19 uses Guava cache on Bindable instances.
Similar to calcite.bindable.cache.maxSize and calcite.bindable.cache.concurrencyLevel, two KYLIN configs are added as follows:
# Cache max size, default value is 10 kylin.query.calcite.bindable.cache.maxSize # controll the concurrency level of cache, default value is 5 kylin.query.calcite.bindable.cache.concurrencyLevel