fcfangcc opened a new pull request, #4146:
URL: https://github.com/apache/flink-cdc/pull/4146
flink-cdc run with mysql -> iceberg, column type in mysql is TINYINT and the
value is
negative( like -1), write to iceberg table the value change to 65535.
Because -1 pack to "\xff\xff" (short, 2bytes). But in code uppack by int, is
get "\xff\xff\x00\x00" (int, 4bytes, got more \x00\x00 from data binary), then
get 65535.
--
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]