Skip to content

Conversation

@deniskuzZ
Copy link
Member

@deniskuzZ deniskuzZ commented Oct 23, 2025

What changes were proposed in this pull request?

Reintroduce caching of validWriteIdList for query used tables in a single step. Previously, CacheTableHelper attempted to retrieve it without even considering the table type and assumed an active transaction. Now, a transaction is opened only when necessary, making CacheTableHelper obsolete.

Why are the changes needed?

Performance/resource optimization

Does this PR introduce any user-facing change?

No

How was this patch tested?

Jenkins

@deniskuzZ deniskuzZ force-pushed the callAndCacheValidTxnWriteIdList branch from 8898a33 to ba185de Compare October 24, 2025 11:50
@deniskuzZ deniskuzZ force-pushed the callAndCacheValidTxnWriteIdList branch from ba185de to 8adeec7 Compare October 24, 2025 13:15
@deniskuzZ deniskuzZ requested a review from kasakrisz October 24, 2025 15:07
@deniskuzZ deniskuzZ changed the title Cache and reuse ValidTxnWriteIdList HIVE-25189: Addendum: Cache validWriteIdList Oct 24, 2025
@deniskuzZ deniskuzZ changed the title HIVE-25189: Addendum: Cache validWriteIdList HIVE-25189: Addendum: Cache and reuse validWriteIdList Oct 24, 2025
@deniskuzZ deniskuzZ changed the title HIVE-25189: Addendum: Cache and reuse validWriteIdList HIVE-25189: Addendum: Cache validWriteIdList Oct 24, 2025
@deniskuzZ deniskuzZ force-pushed the callAndCacheValidTxnWriteIdList branch from 8adeec7 to 21eae09 Compare October 24, 2025 16:54
@kasakrisz
Copy link
Contributor

@deniskuzZ
Could you please share a test case which covers the changes in this PR.

@deniskuzZ
Copy link
Member Author

@deniskuzZ Could you please share a test case which covers the changes in this PR.

The original PR that introduced CacheTableHelper didn’t include any tests. I'll check if I can add some

Copy link
Contributor

@kasakrisz kasakrisz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 5, 2025

@deniskuzZ deniskuzZ merged commit aa74387 into apache:master Nov 5, 2025
2 checks passed
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.

3 participants