Paul Rogers created DRILL-4817:
----------------------------------
Summary: Eliminate redundant call to zeroVectors in
FilterRecordBatch
Key: DRILL-4817
URL: https://issues.apache.org/jira/browse/DRILL-4817
Project: Apache Drill
Issue Type: Improvement
Components: Execution - Flow
Affects Versions: 1.7.0
Reporter: Paul Rogers
Priority: Minor
Consider the FilterRecordBatch class. This class derives from
AbstractSingleRecordBatch (ASRB). ASRB.innerNext( ) has the following code:
container.zeroVectors();
IterOutcome out = doWork();
Now, consider FilterRecordBatch.doWork( ):
protected IterOutcome doWork() {
container.zeroVectors();
...
Notice that the net effect is to zero the vectors twice, spinning the CPU
unnecessarily.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)