Skip to content

Commit

Permalink
fix(pg-cdc): fix real/float data type mapping (#19300) (#19314)
Browse files Browse the repository at this point in the history
Co-authored-by: StrikeW <[email protected]>
Co-authored-by: lmatz <[email protected]>
  • Loading branch information
3 people authored Nov 19, 2024
1 parent 5ffc814 commit 966298e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -664,8 +664,7 @@ private boolean isDataTypeCompatible(String pgDataType, Data.DataType.TypeName t
return val == Data.DataType.TypeName.INT64_VALUE;
case "float":
case "real":
return val == Data.DataType.TypeName.FLOAT_VALUE
|| val == Data.DataType.TypeName.DOUBLE_VALUE;
return val == Data.DataType.TypeName.FLOAT_VALUE;
case "boolean":
return val == Data.DataType.TypeName.BOOLEAN_VALUE;
case "double":
Expand Down

0 comments on commit 966298e

Please sign in to comment.