heljoyLiu opened a new pull request #1280:
URL: https://github.com/apache/tinkerpop/pull/1280


   
   python integer support 64bit, but java integer only 32bit in server,  so 
server may throw deserializer error when get a big integer value from `python 
sdk`.
   
   ```
   org.apache.tinkerpop.shaded.jackson.databind.JsonMappingException: Could not 
deserialize the JSON value as required. Nested exception: 
org.apache.tinkerpop.shaded.jackson.core.JsonParseException: Numeric value 
(851401972585122) out of range of int
    at [Source: (byte[])"{"op": "bytecode", "requestId": {"@type": "g:UUID", 
"@value": "a3660cfd-a531-4b92-8a0d-f65388675f63"}, "args": {"gremlin": 
{"@type": "g:Bytecode", "@value": {"step": [["V"], ["has", "customer_id", 
{"@type": "g:Int32", "@value": 851401972585122}]]}}, "aliases": {"g": "g"}}, 
"processor": "traversal"}"; line: 1, column: 244]
   ```
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to