chamikaramj commented on issue #31227: URL: https://github.com/apache/beam/issues/31227#issuecomment-2121366477
`and False` part does seem like a bug but I don't think that actually gets hit since the Java expansion response serves Beam artifacts as DEFERRED artifacts that are retrieved from the locally available expansion service (so URN is DEFERRED not FILE). https://github.com/apache/beam/blob/fed6489124000b3f222dc444136009ab22e4846e/sdks/java/core/src/main/java/org/apache/beam/sdk/util/construction/Environments.java#L452C31-L452C48 https://github.com/apache/beam/blob/fed6489124000b3f222dc444136009ab22e4846e/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto#L1437 Expansion service jar is cached elsewhere when starting up the expansion service and served to Python side using the `ArtifactRetrievalService.ResolveArtifacts()` API. This might be adding the `O(seconds)` per-query delay you are observing unfortunately. https://github.com/apache/beam/blob/fed6489124000b3f222dc444136009ab22e4846e/sdks/python/apache_beam/utils/subprocess_server.py#L366 -- 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]
