arina-ielchiieva commented on a change in pull request #1716: DRILL-7155: 
Create a standard logging message for batch sizes generated by indivi…
URL: https://github.com/apache/drill/pull/1716#discussion_r272138486
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/columnreaders/batchsizing/RecordBatchSizerManager.java
 ##########
 @@ -336,8 +336,7 @@ private long normalizeMemorySizePerBatch() {
     }
 
     if (batchStatsContext.isEnableBatchSzLogging()) {
-      final String message = String.format("The Parquet reader batch memory 
has been set to [%d] byte(s)", normalizedMemorySize);
-      RecordBatchStats.logRecordBatchStats(message, batchStatsContext);
+      RecordBatchStats.printConfiguredBatchSize(batchStatsContext, 
(int)normalizedMemorySize);
 
 Review comment:
   ```suggestion
         RecordBatchStats.printConfiguredBatchSize(batchStatsContext, (int) 
normalizedMemorySize);
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to