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


##########
service/common/src/main/java/org/apache/polaris/service/task/TableCleanupTaskHandler.java:
##########
@@ -206,11 +207,12 @@ private Stream<TaskEntity> getMetadataTaskStream(
       FileIO fileIO,
       IcebergTableLikeEntity tableEntity,
       PolarisMetaStoreManager metaStoreManager,
-      PolarisCallContext polarisCallContext) {
+      PolarisCallContext polarisCallContext,
+      String realm) {

Review Comment:
   I agree that the realm ID is not conveniently available from 
`PolarisCallContext`, but `PolarisCallContext` has a `BasePersistence` 
instance, which is specific to a realm (cf. 
[JdbcBasePersistenceImpl](https://github.com/apache/polaris/blob/a53419317b11dacffaf08b5556159202779a5206/extension/persistence/relational-jdbc/src/main/java/org/apache/polaris/extension/persistence/relational/jdbc/JdbcBasePersistenceImpl.java#L74))



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