-
Notifications
You must be signed in to change notification settings - Fork 227
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
Finish Constraint Support for Spark #747
Conversation
"violate the new NOT NULL constraint", | ||
"(id > 0) violated by row with values:", # incremental mats | ||
"DELTA_VIOLATE_CONSTRAINT_WITH_VALUES", # incremental mats | ||
"NOT NULL constraint violated for column", | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new error messages were needed here, as it appears the messages coming from Databricks have changed slightly, and some of the messages were also truncated differently.
Heads-up @peterallenwebb: the pull request description needs to be something like this to close multiple issues:
Otherwise, it will only auto-close the first issue, and the subsequent issue(s) will be left open. |
@peterallenwebb Nevermind my comment about syntax for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me
@peterallenwebb nevermind my nevermind 😅 -- from the changelog entry, it appears that you meant #657 instead of #655? In that case, the PR description should be updated to:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting an update to the changelog entry.
Co-authored-by: Doug Beatty <[email protected]>
* CT-2223: Add CONSTRAINT_SUPPORT mapping to adapter implementation * CT-2223: Model constraints implemented for spark * CT-2223: Add unit test * CT-2223: Exclude test not applicable to spark * CT-2223: Another unit test fix. * CT-2223: Final (?) unit test fix * CT-2223: Final (??) unit test fix * Update .changes/unreleased/Features-20230427-123135.yaml Co-authored-by: Doug Beatty <[email protected]> --------- Co-authored-by: Doug Beatty <[email protected]> (cherry picked from commit 4f1039d)
* CT-2223: Add CONSTRAINT_SUPPORT mapping to adapter implementation * CT-2223: Model constraints implemented for spark * CT-2223: Add unit test * CT-2223: Exclude test not applicable to spark * CT-2223: Another unit test fix. * CT-2223: Final (?) unit test fix * CT-2223: Final (??) unit test fix * Update .changes/unreleased/Features-20230427-123135.yaml Co-authored-by: Doug Beatty <[email protected]> --------- Co-authored-by: Doug Beatty <[email protected]> (cherry picked from commit 4f1039d) Co-authored-by: Peter Webb <[email protected]>
resolves #656, resolves #657
Description
Add model-level constraint support to Spark
Checklist
changie new
to create a changelog entry