Open keltia opened 1 week ago
The fact that it is OS dependent is absolutely whack, I have no idea what would cause that.
Ignoring that, you can print out the direct query that Klickhouse is sending upstream via QueryBuilder::finalize to see what the query looks like
EDIT: It might be related to running in ARM instead of x86? They have the same floating point representation though?
Given the following code:
The answer from the query is
4907813.76
which is utterly wrong, it should be23439.96
. using the query manually inside clickhouse-client works. Using the real value in the query instead of $1..$4 works so I guess something is weirtd with .arg() (.args([]) same issue). Maybe I missed something.EDIT: it happens on macOS but NOT on Ubuntu 22.04!!
Any idea? Using 0.13.