Skip to content

Conversation

@goodwillpunning
Copy link
Contributor

@goodwillpunning goodwillpunning commented Jul 26, 2021

This commit updates the ValidatorTestSuite so that all existing test cases work with API changes made in the branch enable_streaming, as well as adds tests for the Rule and RuleSet classes.

Copy link
Contributor

@GeekSheikh GeekSheikh left a comment

Choose a reason for hiding this comment

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

Tests compiled and passed after one minor addition to imports. pushed it via commit just now. I haven't run through all the logic of all the tests, assuming you have. please re-submit for review when you're done adding tests.

@GeekSheikh GeekSheikh self-requested a review August 6, 2021 18:38
Copy link
Contributor

@GeekSheikh GeekSheikh left a comment

Choose a reason for hiding this comment

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

excellent! Thank you for all of these fantastic enahcenemnts! :)

@GeekSheikh GeekSheikh merged commit ba99267 into enable_streaming Aug 6, 2021
@GeekSheikh GeekSheikh deleted the update_validator_tests branch August 6, 2021 18:39
GeekSheikh added a commit that referenced this pull request Aug 15, 2021
* enable streaming

* scaffolding for simpleExpr validation

* completed refactor -- tests outstanding

* refactor and enablement complete

* updated readme

* added implicit boolean

* added filter for summary report

* Update ValidatorTestSuite (#19)

* Update Validator tests with API changes.

* Add tests for implicit and explicit expression rules.

* imported outstanding spark sql functions

* Add test suite for Rules class.

* Add tests for RuleSet class.

* Add test for complex expressions on aggregates.

* Fix isGrouped bug when groupBys array is empty by default or explicitly set.

* Fix overloaded add function that merges 2 RuleSets.

* Add ignoreCase and invertMatch to ValidateStrings and ValidateNumerics rule types.

* Update documentation with latest features in categorical Rules.

Co-authored-by: Daniel Tomes [GeekSheikh] <10840635+geeksheikh@users.noreply.github.com>

* Update sbt (#23)

* simple update to build sbt

* Add scoverage.

Co-authored-by: Will Girten <will.girten@databricks.com>

* removed unused imports

* Accept expanded sequence of Rules to RuleSet Class.

* cleaning up (#30)

* cleaning up

* removed dependencies from assembly

* Fix whitespaces and special characters in Rule Names (#25)

* Parse white spaces and special characters in failure report.

* Update variable name with more meaningful name.

* Add  method to remove whitespace and special characters from Rule names.

* Simplify ruleName public accessor.

* Change special character replacement to underscores.

* Update warning messages and assign private ruleName only once.

* Update demo notebook (#33)

* Update demo notebook with examples of latest features added.

* added scala demo example

Co-authored-by: Daniel Tomes [GeekSheikh] <10840635+geeksheikh@users.noreply.github.com>

* implemented new inclusive boundaries option (#32)

* implemented new inclusive boundaries option

* enhanced logic for upper and lower inclusivity

* readme updated

* Update validation logic for Bounds class. Add test case for inclusive boundary rules. (#35)

Co-authored-by: Will Girten <47335283+goodwillpunning@users.noreply.github.com>

Co-authored-by: Will Girten <47335283+goodwillpunning@users.noreply.github.com>
Co-authored-by: Will Girten <will.girten@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants