drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-6284) Add operator metrics for batch sizing for flatten
Date Sun, 01 Apr 2018 00:48:00 GMT

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

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

Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1181#discussion_r178445230
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatch.java
---
    @@ -109,12 +110,37 @@
       private static final String LEFT_INPUT = "LEFT INPUT";
       private static final String RIGHT_INPUT = "RIGHT INPUT";
     
    -  private class MergeJoinMemoryManager extends AbstractRecordBatchMemoryManager {
    +  private static final int numInputs = 2;
    +  private static final int LEFT_INDEX = 0;
    +  private static final int RIGHT_INDEX = 1;
    +
    +  public enum Metric implements MetricDef {
    +    LEFT_INPUT_BATCH_COUNT,
    +    LEFT_AVG_INPUT_BATCH_BYTES,
    +    LEFT_AVG_INPUT_ROW_BYTES,
    +    LEFT_TOTAL_INPUT_RECORDS,
    --- End diff --
    
    `LEFT_INPUT_RECORD_COUNT`?


> Add operator metrics for batch sizing for flatten
> -------------------------------------------------
>
>                 Key: DRILL-6284
>                 URL: https://issues.apache.org/jira/browse/DRILL-6284
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Execution - Flow
>    Affects Versions: 1.13.0
>            Reporter: Padma Penumarthy
>            Assignee: Padma Penumarthy
>            Priority: Critical
>             Fix For: 1.14.0
>
>
> Add the following operator metrics for flatten.
> NUM_INCOMING_BATCHES,
> AVG_INPUT_BATCH_SIZE,
> AVG_INPUT_ROW_WIDTH,
> TOTAL_INPUT_RECORDS,
> NUM_OUTGOING_BATCHES,
> AVG_OUTPUT_BATCH_SIZE,
> AVG_OUTPUT_ROW_WIDTH,
> TOTAL_OUTPUT_RECORDS;
>  



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

Mime
View raw message