Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time partition granularity #4959

Merged
merged 8 commits into from
Mar 5, 2024
Merged

Conversation

squiishyy
Copy link
Contributor

@squiishyy squiishyy commented Feb 27, 2024

Tracking issue

https://github.com/flyteorg/flyte/issues/

Why are the changes needed?

Adding granularity enum to time partition for ID

What changes were proposed in this pull request?

How was this patch tested?

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. enhancement New feature or request labels Feb 27, 2024
squiishyy and others added 2 commits February 27, 2024 17:59
@wild-endeavor wild-endeavor force-pushed the time-partition-granularity branch from 989f70c to a45d97d Compare February 28, 2024 02:06
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.96%. Comparing base (2b709f1) to head (4a22767).
Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4959      +/-   ##
==========================================
- Coverage   58.98%   58.96%   -0.02%     
==========================================
  Files         645      645              
  Lines       55559    55562       +3     
==========================================
- Hits        32770    32761       -9     
- Misses      20195    20206      +11     
- Partials     2594     2595       +1     
Flag Coverage Δ
unittests 58.96% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

wild-endeavor and others added 5 commits February 27, 2024 18:33
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
@@ -20,18 +20,38 @@ message ArtifactKey {
message ArtifactBindingData {
// These two fields are only relevant in the partition value case
oneof partition_data {
string partition_key = 2;
bool bind_to_time_partition = 3;
string partition_key = 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Safe to change these?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, we're dropping all tables on this one.

wild-endeavor
wild-endeavor previously approved these changes Mar 5, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 5, 2024
@wild-endeavor wild-endeavor merged commit 7be904a into master Mar 5, 2024
47 of 49 checks passed
@wild-endeavor wild-endeavor deleted the time-partition-granularity branch March 5, 2024 19:57
yubofredwang pushed a commit to yubofredwang/flyte that referenced this pull request Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants