[
https://issues.apache.org/jira/browse/TINKERPOP-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16296682#comment-16296682
]
stephen mallette commented on TINKERPOP-1856:
---------------------------------------------
I think you just need to be more explicit in your python with the data type:
{code}
>>> g.addV('person').property('name','stephen').property('favorite',2147483647).next()
v[3]
>>> g.addV('person').property('name','marko').property('favorite',long(21474836470)).next()
v[6]
>>> g.V().has('favorite',2147483647).toList()
[v[3]]
>>> g.V().has('favorite',long(21474836470)).toList()
[v[6]]
{code}
> 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)