Skip to content

[client] Reject NOT NULL violations before Java table writes - #4305

Open
fxbing wants to merge 1 commit into
apache:mainfrom
fxbing:fix/20260911-upsert-not-null-validation
Open

[client] Reject NOT NULL violations before Java table writes#4305
fxbing wants to merge 1 commit into
apache:mainfrom
fxbing:fix/20260911-upsert-not-null-validation

Conversation

@fxbing

@fxbing fxbing commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Purpose

Closes #4302
Prevent silent data corruption when Java writers receive nulls in NOT NULL fields.

Brief change log

Validate append/upsert fields and delete keys before encoding in single-table and multi-table writers, preserving unused null placeholders.

Tests

110 focused JUnit cases passed; Checkstyle and Spotless passed.
Full Maven validation remains blocked by baseline test compilation errors; no CDC E2E.

- Validate append/upsert fields and delete keys before encoding in both writer APIs.
- Preserve unused null placeholders and cover invalid binary rows with regression tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[client] Java table writers do not consistently reject NOT NULL violations

1 participant