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

feat: negative value numeric validation function #241

Open
subhankarb opened this issue Sep 2, 2024 · 0 comments
Open

feat: negative value numeric validation function #241

subhankarb opened this issue Sep 2, 2024 · 0 comments
Labels
Validation Function Related to generating metrics

Comments

@subhankarb
Copy link
Contributor

Tell us about the problem you're trying to solve

As a user I want to create validation based on number of negative values

Describe the solution you’d like

Total two zero validation functions needs to be implemented:

  • COUNT_NEGATIVE
  • PERCENT_NEGATIVE

Example:

validations for product_db.products:

  • negative value count should be less than 2:
    on: count_negative(price)
    threshold: < 2
@subhankarb subhankarb added the Validation Function Related to generating metrics label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Validation Function Related to generating metrics
Projects
None yet
Development

No branches or pull requests

1 participant