yugabyte / debezium-connector-yugabytedb

A Debezium CDC connector for the YugabyteDB database
https://docs.yugabyte.com/stable/explore/change-data-capture/using-logical-replication/yugabytedb-connector/
Apache License 2.0
12 stars 8 forks source link

[yugabyte/yugabyte-db#20414] Fix loss of precision while interpreting as double #316

Closed vaibhav-yb closed 10 months ago

vaibhav-yb commented 10 months ago

Problem

The connector was interpreting all the decimal values as double even if the mode was set to precise - this would have resulted in a loss of precision when streamed.

Solution

This PR disables the default form being set to double when the decimal.handling.mode is set to precise.