You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Paul Rogers (Jira)" <ji...@apache.org> on 2019/11/30 03:10:00 UTC

[jira] [Resolved] (DRILL-7305) Multiple operators do not handle empty batches

     [ https://issues.apache.org/jira/browse/DRILL-7305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Rogers resolved DRILL-7305.
--------------------------------
    Resolution: Duplicate

> Multiple operators do not handle empty batches
> ----------------------------------------------
>
>                 Key: DRILL-7305
>                 URL: https://issues.apache.org/jira/browse/DRILL-7305
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.16.0
>            Reporter: Paul Rogers
>            Priority: Major
>
> While testing the new "EVF" framework, it was found that multiple operators incorrectly handle empty batches. The EVF framework is set up to return a "fast schema" empty batch with only schema as its first batch. It turns out that many operators fail with problems such as:
> * Failure to set the value counts in the output container
> * Fail to initialize the offset vector position 0 to 0 for variable-width or repeated vectors
> And so on.
> Partial fixes are in the JSON reader PR.
> For now, the easiest work-around is to disable the "fast schema" path in the EVF: DRILL-7306.
> To discover the remaining issues, enable the {{ScanOrchestratorBuilder.enableSchemaBatch}} option and run unit tests. You can use the {{VectorChecker}} and {{VectorAccessorUtilities.verify()}} methods to check state. Insert a call to {{verify()}} in each "next" method: verify the incoming and outgoing batches. The checker only verifies a few vector types; but these are enough to show many problems.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)