eric-maynard commented on code in PR #1780: URL: https://github.com/apache/polaris/pull/1780#discussion_r2122331308
########## polaris-core/src/main/java/org/apache/polaris/core/storage/InMemoryStorageIntegration.java: ########## @@ -78,11 +78,11 @@ public InMemoryStorageIntegration(String identifierOrId) { boolean allowWildcardLocation = Optional.ofNullable(CallContext.getCurrentContext()) - .flatMap(c -> Optional.ofNullable(c.getPolarisCallContext())) .map( - pc -> - pc.getConfigurationStore() - .getConfiguration(pc, "ALLOW_WILDCARD_LOCATION", false)) + ctx -> + ctx.getPolarisCallContext() + .getConfigurationStore() + .getConfiguration(ctx.getRealmContext(), "ALLOW_WILDCARD_LOCATION", false)) Review Comment: I think so, because we need to "undo" the translation from CallContext to PolarisCallContext so that we can recover the RealmContext. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org