Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10691

Python thin client UUID marshalling is wrong

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.8
    • Component/s: thin client
    • Labels:
      None
    • Ignite Flags:
      Docs Required

      Description

      Trying to put uuid with Python client and get from Java or C++ client have different results

      Python put

      cache = client.get_or_create_cache("UUID_PY")
      cache.put(1, UUID("d597be47-949e-475b-8918-44ca836798a3"), key_hint=IntObject, value_hint=UUIDObject)
      

      Java get

      ClientCache<Integer, UUID> cache = igniteClient.getOrCreateCache("UUID_PY");
      UUID id = cache.get(1);
      System.out.println(id);
      

      Java output

      5b479e94-47be-97d5-a398-6783ca441889
      

      Same for C++ thin client

      And they looks like mixed up in a different order
      Python:

      d597be47-949e-475b-8918-44ca836798a3

      Java:

      5b479e94-47be-97d5-a398-6783ca441889

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexey.kosenchuk Alexey Kosenchuk
                Reporter:
                spilschikov Stepan Pilschikov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: