Skip to content

Commit 7cf9522

Browse files
committed
fix bucket
1 parent 8b064a9 commit 7cf9522

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

metaflow/plugins/aws/step_functions/step_functions.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,11 @@ def _visit(node, workflow, exit_node=None):
395395
# do...
396396
.result_writer(
397397
*(
398-
SFN_S3_DISTRIBUTED_MAP_OUTPUT_PATH.rsplit("/", 1)
398+
"s3://"
399+
+ SFN_S3_DISTRIBUTED_MAP_OUTPUT_PATH[5:].split("/", 1)[0],
400+
SFN_S3_DISTRIBUTED_MAP_OUTPUT_PATH[5:].split("/", 1)[1]
399401
if self.use_distributed_map
400-
else ()
402+
else (),
401403
)
402404
)
403405
.output_path("$" if self.use_distributed_map else "$.[0]")

0 commit comments

Comments
 (0)