carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [carbondata] Indhumathi27 commented on a change in pull request #3688: [CARBONDATA-3765] Refactor Index Metadata for CG and FG Indexes
Date Fri, 10 Apr 2020 02:39:37 GMT
Indhumathi27 commented on a change in pull request #3688: [CARBONDATA-3765] Refactor Index
Metadata for CG and FG Indexes
URL: https://github.com/apache/carbondata/pull/3688#discussion_r406576369
 
 

 ##########
 File path: core/src/main/java/org/apache/carbondata/core/index/IndexStoreManager.java
 ##########
 @@ -820,8 +715,11 @@ public synchronized void clearInvalidIndex(CarbonTable carbonTable,
List<String>
   }
 
   private boolean hasCGIndex(CarbonTable carbonTable) throws IOException {
-    for (TableIndex tableIndex : getAllVisibleIndexes(carbonTable)) {
-      if (tableIndex.getIndexFactory().getDataMapLevel().equals(IndexLevel.CG)) {
+    if (null == carbonTable) {
 
 Review comment:
   It will be null in case of file format flow

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


With regards,
Apache Git Services

Mime
View raw message