You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by sraghunandan <gi...@git.apache.org> on 2018/07/02 14:52:49 UTC
[GitHub] carbondata pull request #2354: [WIP] Remove dead code
Github user sraghunandan commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2354#discussion_r199524101
--- Diff: core/src/main/java/org/apache/carbondata/core/cache/dictionary/ManageDictionaryAndBTree.java ---
@@ -131,22 +119,4 @@ public static void removeDictionaryColumnFromCache(AbsoluteTableIdentifier carbo
dictCache = CacheProvider.getInstance().createCache(CacheType.FORWARD_DICTIONARY);
dictCache.invalidate(dictionaryColumnUniqueIdentifier);
}
-
- /**
- * This method will remove the BTree instances from LRU cache
- *
- * @param absoluteTableIdentifier
- * @param segments
- */
- public static void invalidateBTreeCache(AbsoluteTableIdentifier absoluteTableIdentifier,
- String[] segments) {
- Cache<Object, Object> driverBTreeCache =
- CacheProvider.getInstance().createCache(CacheType.DRIVER_BTREE);
--- End diff --
handled.Updated the cachetype to blocklet
---