ClickHouse / clickhouse-rs

Official pure Rust typed client for ClickHouse DB
https://clickhouse.com
Apache License 2.0
315 stars 87 forks source link

bug: failing to deserialize f64 correctly #113

Open densumesh opened 3 months ago

densumesh commented 3 months ago

Hi!

We are trying to return an f64 back from clickhouse and seems to be returning garbage data. Any advice?

Our query is image

But we are getting back data like this image

When the actual data returned should be: image

Thanks for the help!

densumesh commented 3 months ago

We fixed this by turning the middle select into a CTE: image