You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2013/11/09 10:06:17 UTC

[jira] [Resolved] (DRILL-273) Injecting diagnostic operator causes the record count to be computed incorrectly

     [ 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)