Github user chenliang613 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1581#discussion_r155440197
--- Diff:
integration/presto/src/main/java/org/apache/carbondata/presto/impl/CarbonTableReader.java
---
@@ -95,12 +99,12 @@
* A cache for Carbon reader, with this cache,
* metadata of a table is only read from file system once.
*/
- private ConcurrentHashMap<SchemaTableName, CarbonTableCacheModel> cc;
+ private AtomicReference<HashMap<SchemaTableName, CarbonTableCacheModel>>
cc;
--- End diff --
the name "cc" also need to change.
---