Skip to content

HIVE-29281: Make proactive cache eviction work with catalog#6379

Open
Neer393 wants to merge 1 commit intoapache:masterfrom
Neer393:HIVE-29281
Open

HIVE-29281: Make proactive cache eviction work with catalog#6379
Neer393 wants to merge 1 commit intoapache:masterfrom
Neer393:HIVE-29281

Conversation

@Neer393
Copy link
Contributor

@Neer393 Neer393 commented Mar 19, 2026

What changes were proposed in this pull request?

Made the proactive cache eviction catalog aware by making changes in ProactiveCacheEviction file and the CacheTag file.

Why are the changes needed?

The proactive cache eviction should be catalog aware otherwise same name tables under different catalogs may cause false cache hits/miss. To avoid this, the cache eviction should be aware of the catalog.

Does this PR introduce any user-facing change?

No user facing changes as user does not know about the proactive cache eviction.

How was this patch tested?

Added unit tests for with and without catalog and all of them passed. Not sure how to manually test proactive cache eviction so verified only via unit tests

@sonarqubecloud
Copy link

@Neer393
Copy link
Contributor Author

Neer393 commented Mar 20, 2026

@zhangbutao I need a review here. I looked at all the merged PRs under HIVE-22820 and have made changes accordingly for making it catalog aware. Please help me here if I missed anything. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants