tkhurana commented on code in PR #1883:
URL: https://github.com/apache/phoenix/pull/1883#discussion_r1639052094


##########
phoenix-core-client/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java:
##########
@@ -539,6 +541,18 @@ public static PTable getTable(Connection conn, @Nullable 
String tenantId, String
         return pconn.getTable(tenantId, fullTableName, timestamp);
     }
 
+    /**
+     * Returns the most recent PTable fetched from the server without updating 
the CQSI cache.
+     */
+    public static PTable getTableFromServerNoCache(Connection conn, byte[] 
schemaName,

Review Comment:
   Maybe then you shouldn't add an API in PhoenixRuntime and directly use 
connection.



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