stoty commented on PR #1777:
URL: https://github.com/apache/phoenix/pull/1777#issuecomment-1874877216

   > > Also, I wonder if we should make this functionalitiy available from the 
Connection object as a new method.
   > 
   > Ideally yes we should. We tried that before while working on 
[PHOENIX-6761](https://issues.apache.org/jira/browse/PHOENIX-6761). However, 
there are tests that expect TableNotFoundException from 
PhoenixConnection#getTable. So, we gave up on that.
   
   What is your opinion on renaming the current getTable to something like 
getCachedTable or getTableFromCache, and adding a fixed getTable to handles 
tables not in the cache ?
   That would not break the tests (and current code that relies on the 
bahviour), and would make the method names better match the behaviour ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to