ihuzenko commented on a change in pull request #1981: DRILL-7583: Remove STOP status from operator outcome URL: https://github.com/apache/drill/pull/1981#discussion_r379420842
########## File path: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/HashJoinBatch.java ########## @@ -308,35 +324,28 @@ public boolean hasPartitionLimit() { */ private final SpilledState<HashJoinSpilledPartition> spilledState = new SpilledState<>(); private final HashJoinUpdater spilledStateUpdater = new HashJoinUpdater(); - private HashJoinSpilledPartition spilledInners[]; // for the outer to find the partition + private HashJoinSpilledPartition spilledInners[]; // for the outer to find the + // partition public enum Metric implements MetricDef { - NUM_BUCKETS, - NUM_ENTRIES, - NUM_RESIZING, - RESIZING_TIME_MS, - NUM_PARTITIONS, - SPILLED_PARTITIONS, // number of original partitions spilled to disk - SPILL_MB, // Number of MB of data spilled to disk. This amount is first written, - // then later re-read. So, disk I/O is twice this amount. - SPILL_CYCLE, // 0 - no spill, 1 - spill, 2 - SECONDARY, 3 - TERTIARY - LEFT_INPUT_BATCH_COUNT, - LEFT_AVG_INPUT_BATCH_BYTES, - LEFT_AVG_INPUT_ROW_BYTES, - LEFT_INPUT_RECORD_COUNT, - RIGHT_INPUT_BATCH_COUNT, - RIGHT_AVG_INPUT_BATCH_BYTES, - RIGHT_AVG_INPUT_ROW_BYTES, - RIGHT_INPUT_RECORD_COUNT, - OUTPUT_BATCH_COUNT, - AVG_OUTPUT_BATCH_BYTES, - AVG_OUTPUT_ROW_BYTES, - OUTPUT_RECORD_COUNT; + NUM_BUCKETS, NUM_ENTRIES, NUM_RESIZING, RESIZING_TIME_MS, NUM_PARTITIONS, + // number of original partitions spilled to disk + SPILLED_PARTITIONS, + SPILL_MB, // Number of MB of data spilled to disk. This amount is first + // written, + // then later re-read. So, disk I/O is twice this amount. + SPILL_CYCLE, // 0 - no spill, 1 - spill, 2 - SECONDARY, 3 - TERTIARY + LEFT_INPUT_BATCH_COUNT, LEFT_AVG_INPUT_BATCH_BYTES, LEFT_AVG_INPUT_ROW_BYTES, + LEFT_INPUT_RECORD_COUNT, RIGHT_INPUT_BATCH_COUNT, RIGHT_AVG_INPUT_BATCH_BYTES, + RIGHT_AVG_INPUT_ROW_BYTES, RIGHT_INPUT_RECORD_COUNT, OUTPUT_BATCH_COUNT, + AVG_OUTPUT_BATCH_BYTES, AVG_OUTPUT_ROW_BYTES, OUTPUT_RECORD_COUNT; Review comment: Please revert the change. Although this version is more compact, it is less readable now. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services