hive icon indicating copy to clipboard operation
hive copied to clipboard

HIVE-27773 get_valid_write_ids is being called multiple times for a single query

Open ramesh0201 opened this issue 2 years ago • 3 comments

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

ramesh0201 avatar Oct 10 '23 10:10 ramesh0201

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
No Duplication information No Duplication information

warning 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

sonarqubecloud[bot] avatar Oct 10 '23 11:10 sonarqubecloud[bot]

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.

github-actions[bot] avatar Dec 10 '23 00:12 github-actions[bot]

Quality Gate Passed 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

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Jan 19 '24 20:01 sonarqubecloud[bot]

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.

github-actions[bot] avatar Mar 20 '24 00:03 github-actions[bot]