Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2327#discussion_r189881797
--- Diff:
core/src/main/java/org/apache/carbondata/core/cache/CacheProvider.java ---
@@ -101,6 +102,31 @@ public static CacheProvider getInstance() {
return cacheTypeToCacheMap.get(cacheType);
}
+ /**
+ * This method will check if a cache already exists for given cache type
and store
+ * if it is not present in the map
+ */
+ public <K, V> Cache<K, V> createCache(CacheType cacheType, String
cacheClassName)
--- End diff --
No, we cannot specify for one type, we can only configure the whole lru
cache size either on driver or executor.
---