ihji commented on a change in pull request #16710:
URL: https://github.com/apache/beam/pull/16710#discussion_r799082834
##########
File path: sdks/go/pkg/beam/artifact/materialize.go
##########
@@ -150,6 +158,12 @@ func extractStagingToPath(artifact
*pipepb.ArtifactInformation) (string, error)
return "", err
}
stagedName = generateId() + "-" + filepath.Base(ty.Path)
+ } else if artifact.TypeUrn == URNUrlArtifact {
Review comment:
If the staging_to role is defined, we follow the naming definition from
the role payload. However we just generate the staging name when the file name
is not important. For example, the name is not important for Python pip
requirement file so we use pip_requirement role instead of staging_to role.
--
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]