Github user JamesRTaylor commented on a diff in the pull request:
https://github.com/apache/incubator-phoenix/pull/34#discussion_r13060129
--- Diff:
phoenix-pig/src/main/java/org/apache/phoenix/pig/hadoop/PhoenixRecordReader.java
---
@@ -100,7 +99,13 @@ public void initialize(InputSplit split,
TaskAttemptContext context) throws IOEx
scan.setStartRow(keyRange.getLowerRange());
scan.setStopRow(keyRange.getUpperRange());
try {
- this.resultIterator = new
TableResultIterator(queryPlan.getContext(), queryPlan.getTableRef(),scan);
+ //this.resultIterator = queryPlan.iterator();
+ TableResultIterator tableResultIterator = new
TableResultIterator(queryPlan.getContext(), queryPlan.getTableRef(),scan);
+
if(queryPlan.getContext().getSequenceManager().getSequenceCount() > 0) {
--- End diff --
Good - this looks right. Does it work for sequences now?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---