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

    https://github.com/apache/carbondata/pull/2936#discussion_r236565449
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java
 ---
    @@ -1399,6 +1399,17 @@ private CarbonCommonConstants() {
     
       public static final String CARBON_PUSH_ROW_FILTERS_FOR_VECTOR_DEFAULT = 
"false";
     
    +  /**
    +   * max driver threads used for block pruning [1 to 4 threads]
    +   */
    +  @CarbonProperty public static final String 
CARBON_MAX_DRIVER_THREADS_FOR_BLOCK_PRUNING =
    +      "carbon.max.driver.threads.for.block.pruning";
    +
    +  public static final String 
CARBON_MAX_DRIVER_THREADS_FOR_BLOCK_PRUNING_DEFAULT = "4";
    +
    +  // block prune in multi-thread if files size more than 100K files.
    +  public static final int 
CARBON_DRIVER_PRUNING_MULTI_THREAD_ENABLE_FILES_COUNT = 100000;
    --- End diff --
    
    Why add this constraint?


---

Reply via email to