Hmm, I dont know how to cast but in my table few columns data type is mediumint unsigned and values of that columns are coming in binary format.
I have handled decimal value by changing mode to string but dont know how to handle these datatypes.
I have used below in debezium connector
“decimal.handling.mode”: “string”,
“bigint.unsigned.handling.mode”: “long”,
“time.precision.mode”: “adaptive_time_microseconds”,
“binary.handling.mode”: “base64”,
Will appreciate if get solution to handle mediumint unsigned datatype.