flyrain commented on code in PR #1806:
URL: https://github.com/apache/polaris/pull/1806#discussion_r2125557022


##########
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:
   This was a copy from the deprecated method, see line 90. I'm OK to change it 
to UTC. I'd suggest to make that change in a separate PR, as it isn't related 
to the refactor in this PR.



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