[
https://issues.apache.org/jira/browse/DRILL-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mehant Baid resolved DRILL-273.
-------------------------------
Resolution: Fixed
Trace operator was not correctly setting the record count when its incoming
recordbatch had a selection vector.
Minor issue in the order in which the functions were invoked. setRecordCount
(SelectionVector2) was invoked before setBuffer which reset the record count
causing the record count to be incorrect.
Looks like Steven fixed the issue.
> Injecting diagnostic operator causes the record count to be computed
> incorrectly
> --------------------------------------------------------------------------------
>
> Key: DRILL-273
> URL: https://issues.apache.org/jira/browse/DRILL-273
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Mehant Baid
> Assignee: Mehant Baid
> Priority: Minor
>
> Injecting trace operator into the plan where the incoming record batch has a
> selection vector causes the record count printed at the end to be equal to
> only the number of records in the last record batch.
--
This message was sent by Atlassian JIRA
(v6.1#6144)