sql: value type decimal doesn't match type float #81858
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-community
Originated from the community
X-blathers-triaged
blathers was able to find an owner
Describe the problem
This came up in the Hibernate ORM tests. A SQL like this:
throws the error:
[42804] ERROR: value type decimal doesn't match type float of column "height_centimeters"
To Reproduce
See above
Expected behavior
As in Postgresql, automatic type conversion between compatible types.
Environment:
This was submitted as part of work to fix the Hibernate ORM CI test suite for CockroachDB
Jira issue: CRDB-16096
The text was updated successfully, but these errors were encountered: