databrickslabs / dbldatagen

Generate relevant synthetic data quickly for your projects. The Databricks Labs synthetic data generator (aka `dbldatagen`) may be used to generate large simulated / synthetic data sets for test, POCs, and other uses in Databricks environments including in Delta Live Tables pipelines
https://databrickslabs.github.io/dbldatagen
Other
364 stars 61 forks source link

Feature constraints #257

Closed ronanstokes-db closed 6 months ago

ronanstokes-db commented 8 months ago

Proposed changes

Added support for constraints

Types of changes

What types of changes does your code introduce to dbldatagen? Put an x in the boxes that apply

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 code.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

codecov[bot] commented 8 months ago

Codecov Report

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

Project coverage is 92.70%. Comparing base (b28602d) to head (d194069).

Files Patch % Lines
dbldatagen/constraints/constraint.py 96.96% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #257 +/- ## ========================================== + Coverage 92.14% 92.70% +0.55% ========================================== Files 23 33 +10 Lines 2788 3029 +241 Branches 477 523 +46 ========================================== + Hits 2569 2808 +239 - Misses 130 131 +1 - Partials 89 90 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.