[
https://issues.apache.org/jira/browse/DRILL-6576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16531770#comment-16531770
]
ASF GitHub Bot commented on DRILL-6576:
---------------------------------------
Ben-Zvi commented on a change in pull request #1362: DRILL-6576: Unnest reports
incoming record counts incorrectly
URL: https://github.com/apache/drill/pull/1362#discussion_r199905031
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unnest/UnnestRecordBatch.java
##########
@@ -207,32 +208,30 @@ public IterOutcome innerNext() {
} finally {
stats.stopSetup();
}
- // since we never called next on an upstream operator, incoming stats are
- // not updated. update input stats explicitly.
- stats.batchReceived(0, incoming.getRecordCount(), true);
return IterOutcome.OK_NEW_SCHEMA;
} else {
assert state != BatchState.FIRST : "First batch should be OK_NEW_SCHEMA";
Review comment:
Unrelated to the change, but this "assert" is dead code (due to the if()
above).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Unnest reports incoming record counts incorrectly
> -------------------------------------------------
>
> Key: DRILL-6576
> URL: https://issues.apache.org/jira/browse/DRILL-6576
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Parth Chandra
> Assignee: Parth Chandra
> Priority: Major
> Fix For: 1.14.0
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)