[ 
https://issues.apache.org/jira/browse/DRILL-7155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809760#comment-16809760
 ] 

ASF GitHub Bot commented on DRILL-7155:
---------------------------------------

arina-ielchiieva commented on 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]


> Create a standard logging message for batch sizes generated by individual 
> operators
> -----------------------------------------------------------------------------------
>
>                 Key: DRILL-7155
>                 URL: https://issues.apache.org/jira/browse/DRILL-7155
>             Project: Apache Drill
>          Issue Type: Task
>          Components: Execution - Relational Operators
>    Affects Versions: 1.16.0
>            Reporter: Robert Hou
>            Assignee: Robert Hou
>            Priority: Major
>
> QA reads log messages in drillbit.log to verify the sizes of data batches 
> generated by individual operators.  These log messages need to be 
> standardized so that each operator creates the same message.  This allows the 
> QA test framework to verify the information in each message.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to