Thomas D'Silva created PHOENIX-4475:
---------------------------------------

             Summary: Change PhoenixRuntime.getTable to fetch the latest 
metadata of the table being looked up
                 Key: PHOENIX-4475
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4475
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Thomas D'Silva


Returns the table if it is found in the connection metadata cache. If the 
metadata of this
table has changed since it was put in the cache these changes will not 
necessarily be
reflected in the returned table. If the table is not found, makes a call to the 
server to
fetch the latest metadata of the table. 
This is different than how a table is resolved when it is referenced from a 
query (a call is made to the server to fetch the latest metadata of the table 
depending on the UPDATE_CACHE_FREQUENCY property)

We could change PhoenixRuntime.getTable to make this behavior the same at the 
cost of an extra RPC.





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to