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

    https://github.com/apache/drill/pull/597#discussion_r81242837
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
 ---
    @@ -864,6 +872,14 @@ public String getDigest() {
         return toString();
       }
     
    +  public void setCacheFileRoot(String cacheFileRoot) {
    +    this.cacheFileRoot = cacheFileRoot;
    +  }
    +
    +  public void setBatchSize(long batchSize) {
    +    this.recommendedBatchSize = batchSize;
    --- End diff --
    
    This will check against the current value of the option rather than the max 
value? I thought we want to ensure never to exceed the MAX value of 
PARQUET_READER_RECORD_BATCH_SIZE - did I misunderstand? I looked into the code 
and it seems like we don't have access to the max value - we would need to add 
new methods to expose the same OR maybe invoke the validate method?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to