gh-yzou commented on code in PR #1758:
URL: https://github.com/apache/polaris/pull/1758#discussion_r2121943420


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

Review Comment:
   Yes, it is used below 
   ```
    return new TaskEntity.Builder()
                     .setName(taskName)
                     
.setId(metaStoreManager.generateNewEntityId(polarisCallContext).getId())
                     .setCreateTimestamp(polarisCallContext.getClock().millis())
                     .withTaskType(AsyncTaskType.BATCH_FILE_CLEANUP)
                     .withData(
                         new BatchFileCleanupTaskHandler.BatchFileCleanupTask(
                             tableEntity.getTableIdentifier(), metadataBatch))
                     
.setInternalProperties(cleanupTask.getInternalPropertiesAsMap())
                     .build();
               });
   ```



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