mengw15 commented on code in PR #7539:
URL: https://github.com/apache/texera/pull/7539#discussion_r3778152626


##########
amber/src/main/python/core/storage/iceberg/iceberg_catalog_instance.py:
##########
@@ -35,6 +35,11 @@ class IcebergCatalogInstance:
       testing or reconfiguration.
     """
 
+    # Deliberately unbounded, unlike the Scala side's bounded cache (#7290): a 
Python
+    # worker process is spawned per worker and destroyed when the execution 
ends
+    # (PythonWorkflowWorker.postStop), so this dict holds the single warehouse 
that
+    # execution used and dies with the process. If PVMs ever become long-lived 
(e.g.
+    # pooled across executions), this needs the same bounding the JVM 
singleton has.

Review Comment:
   Fair enough — removed in 10783f13d, and the reasoning now lives in the PR 
description instead.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to