HIVE-27773 get_valid_write_ids is being called multiple times for a single query
What changes were proposed in this pull request?
get_valid_write_ids gets called multiple times for the same transaction list and set of tables for a query. Subsequent calls can make use of the cached result and thereby reducing the time spent in metastore calls.
Why are the changes needed?
This is needed for performance improvement of query compilation
Does this PR introduce any user-facing change?
No
Is the change a dependency upgrade?
No
How was this patch tested?
Tested locally using the log to determine if this is making use of the cache
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
No Duplication information
The version of Java (11.0.8) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the [email protected] list if the patch is in need of reviews.
Quality Gate passed
The SonarCloud Quality Gate passed, but some issues were introduced.
8 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the [email protected] list if the patch is in need of reviews.