#7621 fix multipart blob dimensionality for directory uploads
Pull request opened by
ApfelPresse
Why are the changes needed?
Directory blob uploads currently return a blob literal with SINGLE dimensionality, even though uploading a directory represents a multipart blob.
What changes were proposed in this pull request?
This PR updates the directory upload path in handleBlobType to return a blob literal with MULTIPART dimensionality.
It also adds a regression test that verifies a directory-based blob upload produces output metadata with:
dimensionality: MULTIPART
How was this patch tested?
Added a unit test for multipart blob uploads.
Tested with:
go test ./flytecopilot/data
Result:
PASS
ok
github.com/flyteorg/flyte/flytecopilot/data
In addition, we built a Flyte container image with this patch applied to our current Flyte version and tested it in our environment. The patched version correctly returns multipart blob outputs with MULTIPART dimensionality for directory uploads.
Labels
fixed
Check all the applicable boxes
• All new and existing tests passed.
• All commits are signed-off.
flyteorg/flyte