Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

feat; allow users choose raw output path style (sharded, non sharded, human readable etc) #116

Merged
merged 3 commits into from
Aug 27, 2020

Conversation

kumare3
Copy link
Contributor

@kumare3 kumare3 commented Aug 27, 2020

TL;DR

Currently we store data in 2 char shards always. This is useful only at the root of a pre-sharded S3 bucket. This change makes it possible to not have to use the 2 char shard, but Flyte will automatically generate a shard in your bucket where to write the data

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • [ x Any pending items have an associated Issue

Complete description

This will enable capability to not create shard chars when not required.

  • Prefix sharding is only useful for S3 and specifically for
    provisioned buckets
  • For buckets that are not provisioned for high throughput, it might be
    useful to use no sharding to make it easy to find the path
  • The path option is still not human readable but derivable

Tracking Issue

flyteorg/flyte#486

Follow-up issue

NA

Ketan Umare added 2 commits August 26, 2020 23:04
 - Prefix sharding is only useful for S3 and specifically for
   provisioned buckets
 - For buckets that are not provisioned for high throughput, it might be
   useful to use no sharding to make it easy to find the path
 - The path option is still not human readable but derivable
@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2020

Codecov Report

Merging #116 into master will increase coverage by 0.03%.
The diff coverage is 71.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #116      +/-   ##
==========================================
+ Coverage   58.72%   58.75%   +0.03%     
==========================================
  Files          99       99              
  Lines        5938     5957      +19     
==========================================
+ Hits         3487     3500      +13     
- Misses       2103     2106       +3     
- Partials      348      351       +3     
Impacted Files Coverage Δ
...o/tasks/pluginmachinery/ioutils/raw_output_path.go 75.00% <71.42%> (-4.32%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ebab24...1dd5a12. Read the comment docs.

@kumare3 kumare3 merged commit af40d96 into master Aug 27, 2020
@honnix honnix deleted the raw-path-options branch August 27, 2020 20:45
eapolinario pushed a commit that referenced this pull request Sep 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants