You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by ravipesala <gi...@git.apache.org> on 2018/05/17 05:38:34 UTC

[GitHub] carbondata pull request #2310: [CARBONDATA-2484][LUCENE]Refactor distributab...

Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2310#discussion_r188843256
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/datamap/DataMapChooser.java ---
    @@ -130,6 +130,25 @@ private DataMapExprWrapper chooseDataMap(DataMapLevel level, FilterResolverIntf
         return null;
       }
     
    +  /**
    +   * Get all datamaps of the table for clearing purpose
    +   */
    +  public DataMapExprWrapper getAllDataMapsForClear(CarbonTable carbonTable)
    +      throws IOException {
    +    List<TableDataMap> allDataMapFG =
    +        DataMapStoreManager.getInstance().getAllVisibleDataMap(carbonTable);
    --- End diff --
    
    Not just visible, you should get all datamaps


---