ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Sapego (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11596) PHP thin client UUID marshalling is wrong
Date Thu, 21 Mar 2019 16:11:01 GMT
Igor Sapego created IGNITE-11596:

             Summary: PHP thin client UUID marshalling is wrong
                 Key: IGNITE-11596
                 URL: https://issues.apache.org/jira/browse/IGNITE-11596
             Project: Ignite
          Issue Type: Bug
          Components: thin client
    Affects Versions: 2.7
            Reporter: Igor Sapego

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

PHP put
[238,15,47,237,224,122,66,220,170,89,127,143,199,56,10,205] = "ee0f2fed-e07a-42dc-aa59-7f8fc7380acd"
$cache = $client->getOrCreateCache("UUID_PH")->setKeyType(ObjectType::INTEGER)->setValueType(ObjectType::UUID);

Java get
ClientCache<Integer, UUID> cache = igniteClient.getOrCreateCache("UUID_PH");
UUID id = cache.get(1);

Java output

This message was sent by Atlassian JIRA

View raw message