-
Notifications
You must be signed in to change notification settings - Fork 332
Remove PolarisCallContext from BaseMetaStoreManager.extractStorageConfiguration #2194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dimas-b
merged 1 commit into
apache:main
from
XN137:simplify-BaseMetaStoreManager.extractStorageConfiguration
Jul 30, 2025
Merged
Remove PolarisCallContext from BaseMetaStoreManager.extractStorageConfiguration #2194
dimas-b
merged 1 commit into
apache:main
from
XN137:simplify-BaseMetaStoreManager.extractStorageConfiguration
Jul 30, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dimas-b
reviewed
Jul 28, 2025
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change LGTM overall... A couple of minor concerns with code changes below.
...-core/src/main/java/org/apache/polaris/core/persistence/AtomicOperationMetaStoreManager.java
Outdated
Show resolved
Hide resolved
dimas-b
previously approved these changes
Jul 28, 2025
as a static helper method its strongly preferable to not depend on the full `PolarisCallContext` if not necessary.
4f2784b to
5a90cc8
Compare
dimas-b
approved these changes
Jul 29, 2025
adutra
approved these changes
Jul 30, 2025
snazy
added a commit
to snazy/polaris
that referenced
this pull request
Nov 20, 2025
* Simplify BaseMetaStoreManager.extractStorageConfiguration (apache#2194) as a static helper method its strongly preferable to not depend on the full `PolarisCallContext` if not necessary. * Remove PolarisCallContext from TreeMapMetaStore (apache#2195) * remove PolarisCallContext from TreeMapMetaStore methods * reset diagnosticServices in TreeMapMetaStore * simplify ensure methods * Remove getCurrentContext from InMemoryStorageIntegration (apache#2201) * Remove getCurrentContext from JWTBroker (apache#2202) * fix(deps): update dependency boto3 to v1.39.17 (apache#2211) * fix(deps): update dependency org.apache.commons:commons-compress to v1.28.0 (apache#2212) * Enable python client debug flag (apache#2154) * Enable python client debug flag * Move debug msg to stderr and move debug enable after option parsing * Remove postgres_latest as image tag (apache#2045) * Remove postgres_latest as image tag * Change image tag to latest for getting started examples * Change image tag to latest from helm * fix(deps): update dependency io.smallrye.common:smallrye-common-annotation to v2.13.8 (apache#2222) * Remove CallContextResolver (apache#2215) it seems like these were unused leftovers from previous changes * Replace CommitFailedException with CommitConflictException (apache#2198) * Replace CommitFailedException with CommitConflictException In some cases, we were using CommitFailedException to represent commit conflicts, which returns the correct 409 response but is tied to Iceberg. However, some of these conflicts originate from Polaris, making CommitConflictException a more appropriate and accurate choice. This change updates those instances to improve clarity and exception handling semantics. Resolves apache#2168 * JDBC: Include error code + SQL state in exception messages (apache#2220) * fix(deps): update dependency boto3 to v1.40.0 (apache#2225) * chore(deps): update actions/stale digest to 8f717f0 (apache#2224) * Fix Awaitility build configuration (apache#2232) * Fix compilation warnings in AzureCredentialStorageIntegrationTest (apache#2231) * Remove CallContext.CURRENT_CONTEXT (apache#2203) the last callers of `CallContext.getCurrentContext` had been removed in the following commits: - 756e535 - e7eb59f - 4d94745 thus we can now remove the `CURRENT_CONTEXT` threadlocal and all associated methods. * NoSQL: adoptions & cosmetics * Last merged commit 0449d9b --------- Co-authored-by: Christopher Lambert <xn137@gmx.de> Co-authored-by: Mend Renovate <bot@renovateapp.com> Co-authored-by: Yong Zheng <yongzheng0809@gmail.com> Co-authored-by: Tamas Mate <50709850+tmater@users.noreply.github.com> Co-authored-by: Alexandre Dutra <adutra@apache.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
as a static helper method its strongly preferable to not depend on the full
PolarisCallContextif not necessary.