Fixed Issue #3323 - #3347
Fixed Issue #3323#3347Hydrocharged wants to merge 1 commit into
Conversation
33397fc to
5a73ebf
Compare
|
SummaryCoverage spans generated and default column behavior through schema changes, expression evaluation, metadata handling, retry and recovery paths after rejected database changes, and identity-column edge cases. The exercised flows include normal inserts and updates plus malformed or unsupported definitions, with the main generated-column behaviors healthy and two broader catalog/identity limitations observed. Safe to merge — the failures are pre-existing identity and metadata limitations, not regressions or new failures caused by this PR, and the tested behavior relevant to the change remains healthy. These issues are worth tracking separately but are not merge blockers for this change. Tests run by ItoAdditional Findings DetailsThese findings are unrelated to the current changes but were observed during testing. 🟠 Identity columns lose automatic values
Evidence Package🟡 Generated expression is missing from column metadata
Evidence PackageTip Reply with @itoqa to send us feedback on this test run. |
|
|
@Hydrocharged DOLT
|
zachmu
left a comment
There was a problem hiding this comment.
LGTM but see comment about test
| }, | ||
| }, | ||
| { | ||
| Name: "Issue #3323: INSERT after ALTER TABLE ADD COLUMN on a table with a generated column", |
There was a problem hiding this comment.
Good test, but also add a test case that exactly reproduces the issue as reported by the customer.
Also try to find a better home for this test case. issues_test.go is just a random grab bag of regression tests and should be the destination of last resort for truly random one-off issues we can't think of a better place for. This belongs either with tests of alter table, or generated expressions.
5a73ebf to
6775f7c
Compare
Commit: SummaryThe run covers database-generated values across schema changes, inserts, updates, key and constraint changes, column removal, expression reconstruction, retrying invalid changes, and repeated operations. It also exercises null handling, nested and equivalent expressions, text and boolean results, aggregation, and edge cases around unsupported expressions and duplicate changes, with all exercised behaviors remaining correct. Safe to merge — the exercised schema-change, generated-value, expression, and retry behaviors showed no regressions or PR-attributable failures. No merge blocker was identified; overall risk is low. Tests run by Ito
Tip Reply with @itoqa to send us feedback on this test run. |

Generated column expressions now survive ALTER TABLE ADD PRIMARY KEY.