<#7339 handle azure Gen2 storage path when parsing...
# flyte-github
a
#7339 handle azure Gen2 storage path when parsing ref Pull request opened by SVilgelm Summary • Cherry-picks the ABFS Gen2 path-parsing fix from the legacy
flytestdlib
repo (original PR: https://github.com/flyteorg/flytestdlib/pull/841) onto
main
. • Fixes
DataReference.Split
for Azure ADLS Gen2 (`abfs://container@account.dfs.core.windows.net/path`) URLs, where
url.Parse
puts the container in the
User
field instead of
Host
. • Scopes the
u.User.Username()
override to `abfs`/`abfss` so
<s3://accessKey:secret@bucket/key
-style> URLs still return
bucket
as the container. • Adds a regression test for the S3-with-userinfo case and an
abfss
test. Test plan •
go test ./flytestdlib/storage/... -run TestDataReference
🤖 Generated with Claude Code flyteorg/flyte