CodeWithPravinMaske commented on issue #12599:
URL: https://github.com/apache/seatunnel/issues/12599#issuecomment-5952468768

   Thanks @SEZ9! I've opened a PR following your suggestion: MySqlSchema now 
re-applies column nullability from the catalog table (database metadata) after 
parseSnapshotDdl. The composite case is affected too: with UNIQUE KEY (a, b), a 
NOT NULL and b nullable, Debezium marked both NOT NULL and b's NULLs were 
emitted as 0 (snapshot and binlog, verified on MySQL 8.0). The PR includes unit 
tests and an IT covering the snapshot and binlog phases for single and 
composite keys.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to