cube2222 / octosql

OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.
Mozilla Public License 2.0
4.74k stars 201 forks source link

mark int type explicitly as int64 #332

Closed tjungblu closed 2 months ago

tjungblu commented 2 months ago

fixes cube2222#330

Second approach to #331

Returns on armv7l (32 bit) the same result as on 64 bits:

$ octosql "SELECT 2147483647+2147483647, 9223372036854775807+9223372036854775807"
+------------+-------+
|   col_0    | col_1 |
+------------+-------+
| 4294967294 |    -2 |
+------------+-------+
cube2222 commented 2 months ago

Hey, sorry for the delay, had a busy last week. I’ll try to get this in and make a release this week.

tjungblu commented 2 months ago

no rush at all, thanks for your help Kuba :)