Paul Rogers created DRILL-7305:
----------------------------------
Summary: 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
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)