[
https://issues.apache.org/jira/browse/TINKERPOP-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16296726#comment-16296726
]
stephen mallette commented on TINKERPOP-1856:
---------------------------------------------
That's a really big number: 17779925682996784432L and it blows the 64 bit java
limit for a Long so it overflows to -666818390712767184. To support a number
that big in java you need {{BigInteger}} which we support as a type:
http://tinkerpop.apache.org/docs/3.3.0/dev/io/#_biginteger
but do not yet support for Gremlin Python: TINKERPOP-1435
> Does long not serialized properly?
> ----------------------------------
>
> Key: TINKERPOP-1856
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1856
> Project: TinkerPop
> Issue Type: Bug
> Components: python
> Affects Versions: 3.2.6
> Environment: docker Linux 4.9.49-moby #1 SMP Fri Dec 8 13:40:02 UTC
> 2017 x86_64 GNU/Linux
> Reporter: softwarevamp
>
> {code:python}
> bulletin = g.V().hasLabel('bulletin').has('id', 2147483647).toList()
> {code} works, but
> {code:python}
> bulletin = g.V().hasLabel('bulletin').has('id', 21474836470).toList()
> {code} not.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)