the query should return the float value alongside the uuid of the merchant
nb: this works fine if the value is unset (aka null) or only has zeroes as decimal values (like 0.0 or 2.0)
REST API
query sent normally, error reported (detailed below)
Additional context
server error:
typhonql-server_1 | Nov 02, 2020 4:35:16 PM org.neo4j.driver.internal.logging.JULogger info
typhonql-server_1 | INFO: Direct driver instance 1725604323 created for server address marketing:7687
typhonql-server_1 | Nov 02, 2020 4:35:16 PM org.neo4j.driver.internal.logging.JULogger info
typhonql-server_1 | INFO: Closing driver instance 1725604323
typhonql-server_1 | Nov 02, 2020 4:35:16 PM org.neo4j.driver.internal.logging.JULogger info
typhonql-server_1 | INFO: Closing connection pool towards marketing:7687
typhonql-server_1 | )
typhonql-server_1 | unknown location: Java("LossyCoercion","Cannot coerce FLOAT to Java float without losing precision")
Describe the bug
attempting to query a non-null float value from neo4j fails.
Query
Model
Expected behavior
the query should return the float value alongside the uuid of the merchant nb: this works fine if the value is unset (aka null) or only has zeroes as decimal values (like 0.0 or 2.0)
REST API
query sent normally, error reported (detailed below)
Additional context
server error:
typhonql-server_1 | Nov 02, 2020 4:35:16 PM org.neo4j.driver.internal.logging.JULogger info typhonql-server_1 | INFO: Direct driver instance 1725604323 created for server address marketing:7687 typhonql-server_1 | Nov 02, 2020 4:35:16 PM org.neo4j.driver.internal.logging.JULogger info typhonql-server_1 | INFO: Closing driver instance 1725604323 typhonql-server_1 | Nov 02, 2020 4:35:16 PM org.neo4j.driver.internal.logging.JULogger info typhonql-server_1 | INFO: Closing connection pool towards marketing:7687 typhonql-server_1 | ) typhonql-server_1 | unknown location: Java("LossyCoercion","Cannot coerce FLOAT to Java float without losing precision")