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

[FSTORE-1247] Raise DataValidationException on validation failure of a dataframe if the validation ingestion policy is set to strict #1226

Merged
merged 11 commits into from
Feb 27, 2024

Conversation

vatj
Copy link
Contributor

@vatj vatj commented Feb 17, 2024

Added for both regular and external feature group. Added docs for external feature group insert method.

Note that insert method of external feature group needs to be "fixed", as it is confusing. There is no materialization job or need to wait for example. To be addressed in separate PR

JIRA Issue: -

Priority for Review: -

Related PRs: -

How Has This Been Tested?

  • Unit Tests
  • Integration Tests
  • Manual Tests on VM

Checklist For The Assigned Reviewer:

- [ ] Checked if merge conflicts with master exist
- [ ] Checked if stylechecks for Java and Python pass
- [ ] Checked if all docstrings were added and/or updated appropriately
- [ ] Ran spellcheck on docstring
- [ ] Checked if guides & concepts need to be updated
- [ ] Checked if naming conventions for parameters and variables were followed
- [ ] Checked if private methods are properly declared and used
- [ ] Checked if hard-to-understand areas of code are commented
- [ ] Checked if tests are effective
- [ ] Built and deployed changes on dev VM and tested manually
- [x] (Checked if all type annotations were added and/or updated appropriately)

@vatj vatj requested review from SirOibaf and bubriks February 17, 2024 19:37
python/hsfs/core/external_feature_group_engine.py Outdated Show resolved Hide resolved
python/hsfs/core/external_feature_group_engine.py Outdated Show resolved Hide resolved
python/hsfs/core/feature_group_engine.py Outdated Show resolved Hide resolved
@vatj vatj merged commit e456067 into logicalclocks:master Feb 27, 2024
11 checks passed
vatj added a commit to vatj/feature-store-api that referenced this pull request Feb 28, 2024
…a dataframe if the validation ingestion policy is set to strict (logicalclocks#1226)

* Add DataValidationException class

* Raise DataValidationException on validation failure if validation ignestion policy set to strict

* Fix associated unit test

* Append to insert documentation

* Raise exception also when inserting only in the online Feature Store for External FG

* Add documentation to insert for External FG

* Refactor get_feature_group_url and improve DataValidationException message

* Remove pytest bigquery.json

---------

Co-authored-by: Fabio Buso <buso.fabio@gmail.com>
SirOibaf added a commit that referenced this pull request Feb 28, 2024
…a dataframe if the validation ingestion policy is set to strict (#1226)

* Add DataValidationException class

* Raise DataValidationException on validation failure if validation ignestion policy set to strict

* Fix associated unit test

* Append to insert documentation

* Raise exception also when inserting only in the online Feature Store for External FG

* Add documentation to insert for External FG

* Refactor get_feature_group_url and improve DataValidationException message

* Remove pytest bigquery.json

---------

Co-authored-by: Fabio Buso <buso.fabio@gmail.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.

2 participants