Github user JamesRTaylor commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/6#discussion_r15500517
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java ---
@@ -513,6 +551,13 @@ private MutationState buildIndex(PTable index,
TableRef dataTableRef) throws SQL
// index maintainers.
// Define the LOCAL_INDEX_BUILD as a new static in
BaseScannerRegionObserver
Scan scan = plan.getContext().getScan();
+ if(lowerBoundTimeStamp != null) {
+ try {
+ scan.setTimeRange(lowerBoundTimeStamp,
Long.MAX_VALUE);
--- End diff --
Shouldn't this match what's done below instead? Otherwise, when we do the
plan.iterator().next() below, it'll probably get overridden.
plan.getContext().setScanTimeRange(new TimeRange(lowerBoundTimeStamp,
Long.MAX_VALUE))
---
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.
---