Github user JamesRTaylor commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/6#discussion_r15500850
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java ---
    @@ -537,15 +582,34 @@ private MutationState buildIndex(PTable index, 
TableRef dataTableRef) throws SQL
                 } else {
                     PostIndexDDLCompiler compiler = new 
PostIndexDDLCompiler(connection, dataTableRef);
                     MutationPlan plan = compiler.compile(index);
    +                if(lowerBoundTimeStamp != null) {
    --- End diff --
    
    Rather than pass through the lowerBoundTimeStamp and set it on the 
StatementContext, a better place would be on TableRef. That's where the 
upperBoundTimeStamp lives. If you stored it there, you could establish it on 
the TableRef being passed through already which would be simpler. 


---
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.
---

Reply via email to