dimas-b commented on code in PR #1806:
URL: https://github.com/apache/polaris/pull/1806#discussion_r2126637428


##########
polaris-core/src/main/java/org/apache/polaris/core/PolarisCallContext.java:
##########
@@ -51,6 +70,18 @@ public PolarisCallContext(
     this.clock = clock;
   }
 
+  public PolarisCallContext(
+      @Nonnull RealmContext realmContext,
+      @Nonnull BasePersistence metaStore,
+      @Nonnull PolarisDiagnostics diagServices) {
+    this.realmContext = realmContext;
+    this.metaStore = metaStore;
+    this.diagServices = diagServices;
+    this.configurationStore = new PolarisConfigurationStore() {};
+    this.clock = Clock.system(ZoneId.systemDefault());

Review Comment:
   Ok to defer, but we must not forget... IIRC we already have a mix of clocks 
in the codebase. It'd be nice to have a uniform pattern.



-- 
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

Reply via email to