Github user chrajeshbabu commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/3#discussion_r14898689
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/iterate/ParallelIterators.java ---
@@ -238,7 +240,12 @@ private void
doColumnProjectionOptimization(StatementContext context, Scan scan,
minMaxRange =
SaltingUtil.addSaltByte(split.getLowerRange(), minMaxRange);
split = split.intersect(minMaxRange);
}
- }
+ } else if (localIndex) {
--- End diff --
one main difference is there between the two methods James. in addSaltByte
if keyrange upper or lower bound is unbound we don't set salting byte. in case
of local index if both start or end keys are unbound then only we don't prefix
the bytes. So not able to commonize both.
---
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.
---