Closed Rishav-Git closed 1 year ago
@ismailsimsek let me know If this code can be added to existing code and PR can be raised
Hi @Rishav-Git definitely can be added, please feel free to open PR. Thank you for reporting it
Please review the PR @ismailsimsek PR: #218
PR merged to master
case "double" is missing in the master branch on file: IcebergChangeEvent.scala.
Use Case: When using debezium with MySQL database connector, it converts decimal type values to byte type by default. When the property: decimal.handling.mode is set to double, the value should get converted to double type but the type gets converted to string since default case is string. Follow this link for more details: https://debezium.io/documentation/reference/stable/connectors/mysql.html#mysql-property-decimal-handling-mode:~:text=time%20zone%20information.-,Decimal%20types,-Debezium%20connectors%20handle
We need to add case double to the existing code to fix decimal.handling.mode property.
I have already used this code and tested it, working good for me.
Example: