2.0.1 toInteger has a bug
zhilinglike opened this issue · comments
zhilinglike commented
NebulaGraph 2.0.1
"-9223372036854775807" and "-9223372036854775808" toInteger all is -9223372036854775808 ,, Why?
(root@nebula) [t1]> return toInteger("-9223372036854775808")
+-----------------------------------+
| toInteger("-9223372036854775808") |
+-----------------------------------+
| -9223372036854775808 |
+-----------------------------------+
Got 1 rows (time spent 173/536 us)
Sat, 24 Jul 2021 16:53:07 CST
(root@nebula) [t1]>
(root@nebula) [t1]>
(root@nebula) [t1]>
(root@nebula) [t1]> return toInteger("-9223372036854775807")
+-----------------------------------+
| toInteger("-9223372036854775807") |
+-----------------------------------+
| -9223372036854775808 |
+-----------------------------------+
Got 1 rows (time spent 153/453 us)
Sat, 24 Jul 2021 16:53:12 CST