You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2021/04/19 11:06:00 UTC

[jira] [Commented] (TINKERPOP-2549) Result set including Chinese characters out of order from gremlin-python client

    [ https://issues.apache.org/jira/browse/TINKERPOP-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17324945#comment-17324945 ] 

Stephen Mallette commented on TINKERPOP-2549:
---------------------------------------------

That's strange. Do you happen to have any idea why that would happen just with python?

> Result set including Chinese characters out of order from gremlin-python client
> -------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2549
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2549
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 3.4.6
>            Reporter: aqiang ji
>            Priority: Blocker
>
> Below python script print the result set out of order
>  
> {code:java}
> g = traversal().withRemote(
>     DriverRemoteConnection('ws://127.0.0.1:8182/gremlin', 'gmodern', username='admin', password='admin'))
> persons = g.V().hasLabel('person').values('name', 'age').toList();
> print(persons)
> {code}
> Result:
>  
> {code:java}
> ['marko', 29, 'vadas', 27, 'josh', 32, 'peter', 35, '王菲', 30, 30, 30, '李希希', '张飞']
> {code}
> Seems if there are Chinese characters in the vertex property, the result will be out of order. 
> The issue is not present from the java client.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)