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

Update repeated value filters with ValueNotIn support #5110

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

troychiu
Copy link
Member

@troychiu troychiu commented Mar 26, 2024

Why are the changes needed?

We currently don't support value_not_in filter.

What changes were proposed in this pull request?

Add value_not_in filter support.

How was this patch tested?

  • unit tests
  • end-to-end works

Screenshots

Screenshot 2024-03-26 at 9 33 01 AM Screenshot 2024-03-26 at 10 13 44 AM

Signed-off-by: troychiu <y.troychiu@gmail.com>
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Mar 26, 2024
Signed-off-by: troychiu <y.troychiu@gmail.com>
Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 58.99%. Comparing base (cb6384a) to head (0a49467).
Report is 2 commits behind head on master.

Files Patch % Lines
flyteadmin/pkg/common/filters.go 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5110      +/-   ##
==========================================
+ Coverage   58.49%   58.99%   +0.49%     
==========================================
  Files         627      645      +18     
  Lines       54155    55672    +1517     
==========================================
+ Hits        31680    32844    +1164     
- Misses      19942    20232     +290     
- Partials     2533     2596      +63     
Flag Coverage Δ
unittests 58.99% <60.00%> (+0.49%) ⬆️

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.

@troychiu troychiu requested a review from katrogan March 26, 2024 17:06
pingsutw
pingsutw previously approved these changes Mar 26, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 26, 2024
Copy link
Contributor

@katrogan katrogan left a comment

Choose a reason for hiding this comment

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

neat, can we make sure to update the documentation too:

Adding request filters

also mind verifying this works with repeated values?

Signed-off-by: troychiu <y.troychiu@gmail.com>
@pingsutw pingsutw merged commit b35246b into master Mar 26, 2024
48 checks passed
@pingsutw pingsutw deleted the add-value-not-in-filter branch March 26, 2024 19:32
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:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants