You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Igor Sapego (JIRA)" <ji...@apache.org> on 2019/03/21 17:05:00 UTC

[jira] [Commented] (IGNITE-10691) Python thin client UUID marshalling is wrong

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

Igor Sapego commented on IGNITE-10691:
--------------------------------------

[~alexey.kosenchuk] Split into 3 issues: added IGNITE-11596 and IGNITE-11597

> Python thin client UUID marshalling is wrong
> --------------------------------------------
>
>                 Key: IGNITE-10691
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10691
>             Project: Ignite
>          Issue Type: Bug
>          Components: thin client
>    Affects Versions: 2.7
>            Reporter: Stepan Pilschikov
>            Assignee: Alexey Kosenchuk
>            Priority: Major
>             Fix For: 2.8
>
>
> Trying to put uuid with Python client and get from Java or C++ client  have different results
> Python put
> {code}
> cache = client.get_or_create_cache("UUID_PY")
> cache.put(1, UUID("d597be47-949e-475b-8918-44ca836798a3"), key_hint=IntObject, value_hint=UUIDObject)
> {code}
> Java get
> {code}
> ClientCache<Integer, UUID> cache = igniteClient.getOrCreateCache("UUID_PY");
> UUID id = cache.get(1);
> System.out.println(id);
> {code}
> Java output
> {code}
> 5b479e94-47be-97d5-a398-6783ca441889
> {code}
> Same for C++ thin client
> And they looks like mixed up in a different order
> Python: {code}d597be47-949e-475b-8918-44ca836798a3{code}
> Java: {code}5b479e94-47be-97d5-a398-6783ca441889{code}
> For example take "ca" in 7-8 number from the end of java uuid
> On left we have "83", but in python "83" stay on right side from "ca"
> Different for "44" which is on right for Java but on left for Python



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)