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

Add support for constraints #224

Open
ronanstokes-db opened this issue Jul 13, 2023 · 0 comments
Open

Add support for constraints #224

ronanstokes-db opened this issue Jul 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ronanstokes-db
Copy link
Contributor

Expected Behavior

Allows specification of constraint on generated data using withConstraint method on DataGenerator class

Current Behavior

Constraints can be added using where clauses on generated data set. However use of a withConstraint class would isolate the specification of the constraint from its implementation allowing for better implementations in the future.

It would also simplify the management of constraints and make the constraint mechanism more similar to Delta Live Table expectations.

Steps to Reproduce (for bugs)

New feature - not a bug

Context

Your Environment

  • dbldatagen version used: to be implemented in v0.3.6 or later

  • Databricks Runtime version: to be supported in Databricks runtimes from 10.3 LTS onwards

  • Cloud environment used: Will be supported on released Databricks environments

@ronanstokes-db ronanstokes-db added the enhancement New feature or request label Jul 13, 2023
@ronanstokes-db ronanstokes-db self-assigned this Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant