Description of changes:
The validation logic exists as part of the data ingestion. This change separates out the validation logic and expose it on the Scala and Python interface.
Data type conversion was part of validation. This change moves it to its own function.
Unit tests and integration tests are added.
Testing done:
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General
[x] I have read the CONTRIBUTING doc
[x] I certify that the changes I am introducing will be backword compatible
[x] I used the commit message format described in CONTRIBUTING doc
Tests
[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have added unit and/or integration tests as appropriate to ensure backward compatibility of the changes
[x] I have verified all code in this commit are well formatted
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available:
Description of changes: The validation logic exists as part of the data ingestion. This change separates out the validation logic and expose it on the Scala and Python interface.
Data type conversion was part of validation. This change moves it to its own function.
Unit tests and integration tests are added.
Testing done:
Merge Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.General
Tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.