commit | b0de3cd50cc4579c109b2dd16e66c2f3ccc87e4b | [log] [tgz] |
---|---|---|
author | JArod <jarodwen@gmail.com> | Wed Jul 24 20:58:27 2013 -0700 |
committer | JArod <jarodwen@gmail.com> | Wed Jul 24 20:58:27 2013 -0700 |
tree | 88aebd61da787e46ea351cc95bb8e926dda7b939 | |
parent | 074dcbb3a119d21a09a122972da5578427c583cd [diff] |
checkpoint #2: passed all tests for offset-based-indexing unnest.
diff --git a/algebricks/algebricks-runtime/src/main/java/edu/uci/ics/hyracks/algebricks/runtime/operators/std/UnnestRuntimeFactory.java b/algebricks/algebricks-runtime/src/main/java/edu/uci/ics/hyracks/algebricks/runtime/operators/std/UnnestRuntimeFactory.java index d402518..81f0afa 100644 --- a/algebricks/algebricks-runtime/src/main/java/edu/uci/ics/hyracks/algebricks/runtime/operators/std/UnnestRuntimeFactory.java +++ b/algebricks/algebricks-runtime/src/main/java/edu/uci/ics/hyracks/algebricks/runtime/operators/std/UnnestRuntimeFactory.java
@@ -86,7 +86,7 @@ private IUnnestingEvaluator agg; private ArrayTupleBuilder tupleBuilder; - private int tupleCount = 1; + private int tupleCount; private IScalarEvaluator offsetEval = posOffsetEvalFactory.createScalarEvaluator(ctx); @Override @@ -98,6 +98,7 @@ throw new HyracksDataException(ae); } tupleBuilder = new ArrayTupleBuilder(projectionList.length); + tupleCount = 1; writer.open(); }