Tang8330 commented on issue #1578: URL: https://github.com/apache/cassandra-gocql-driver/issues/1578#issuecomment-3276948952
Why is this library using `*inf.Dec` and relying on another SDK? 1. The package state that it is in experimental stage 2. The package does not support converting this back out to float32/float64 3. Cassandra's official docs says that `decimal` maps to `int` or `float`. [Ref](https://cassandra.apache.org/doc/4.1/cassandra/cql/types.html#:~:text=below%20for%20details.-,decimal,Variable%2Dprecision%20decimal,-double) Why isn't it just mapping to a float64 and if the value is an integer, it's just a float with no scale? This library is making it far more complicated than it needs to be given that Cassandra only supports up to float64. Tagging @joao-r-reis <img width="1520" height="815" alt="Image" src="https://github.com/user-attachments/assets/693ef333-6e8d-4a71-bd4f-ce4e2a90fa30" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org