Skip to content

Conversation

@dain
Copy link
Member

@dain dain commented Jun 23, 2025

The masking is only performed when the query is already done, but this can be confusing when wrapped in CachingTableStatsProvider. Instead CachingTableStatsProvider catches the exception and mask, so it is clear that the cache is not correct for the current query. This also removes the unnecessary dependency from MetadataManager on QueryManager

Release notes

(X) This is not user-visible or is docs only, and no release notes are required.

@dain dain requested a review from electrum June 23, 2025 22:54
@cla-bot cla-bot bot added the cla-signed label Jun 23, 2025
The masking is only performed when the query is already done, but this
can be confusing when wrapped in CachingTableStatsProvider.  Instead
CachingTableStatsProvider catches the exception and mask, so it is clear
that the cache is not correct for the current query.  This also removes
the unnecessary dependency from MetadataManager on QueryManager
@dain dain merged commit 0c7ef19 into trinodb:master Jun 24, 2025
94 checks passed
@dain dain deleted the cleanup branch June 24, 2025 02:23
@github-actions github-actions bot added this to the 477 milestone Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants