Tanuj Khurana created PHOENIX-6860: -------------------------------------- Summary: Multiple calls for the same table to ConnectionQueryServicesImpl#getTable within the execution of the same statement Key: PHOENIX-6860 URL: https://issues.apache.org/jira/browse/PHOENIX-6860 Project: Phoenix Issue Type: Improvement Affects Versions: 5.1.3, 5.1.2 Reporter: Tanuj Khurana
For some statements like for example UPSERT statements, we make multiple calls to ConnectionQueryServicesImpl#getTable() for the same table like once in FromCompiler when creating the table ref and again when sending mutations in MutationState#validateAndGetServerTimestamp(). I think we can reduce the unnecessary RPCs to the server if we have already resolved the table for a given statement. -- This message was sent by Atlassian Jira (v8.20.10#820010)