Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

2.0.1 toInteger has a bug #1284

Closed
zhilinglike opened this issue Jul 24, 2021 · 0 comments · Fixed by vesoft-inc/nebula-common#595
Closed

2.0.1 toInteger has a bug #1284

zhilinglike opened this issue Jul 24, 2021 · 0 comments · Fixed by vesoft-inc/nebula-common#595
Assignees

Comments

@zhilinglike
Copy link

zhilinglike commented Jul 24, 2021

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants