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 16:14:00 UTC
[jira] [Created] (IGNITE-11597) Node.js thin client UUID
marshalling is wrong
Igor Sapego created IGNITE-11597:
------------------------------------
Summary: Node.js thin client UUID marshalling is wrong
Key: IGNITE-11597
URL: https://issues.apache.org/jira/browse/IGNITE-11597
Project: Ignite
Issue Type: Bug
Components: thin client
Affects Versions: 2.7
Reporter: Igor Sapego
Fix For: 2.8
Trying to put uuid with Node.js client and get from Java or C++ client have different results
NodeJS put
5fbeee4e-b2a6-44dc-99ac-6444d7fe7df6
{code}
cache = (await igniteClient.getOrCreateCache("UUID_JS"))
.setKeyType(ObjectType.PRIMITIVE_TYPE.INTEGER)
.setValueType(ObjectType.PRIMITIVE_TYPE.UUID);
key = 1;
value = [95,190,238,78,178,166,68,220,153,172,100,68,215,254,125,246];
await cache.put(key, value);
{code}
Java get
{code}
ClientCache<Integer, UUID> cache = igniteClient.getOrCreateCache("UUID_JS");
UUID id = cache.get(1);
System.out.println(id);
{code}
Java output
{code}
dc44a6b2-4eee-be5f-f67d-fed74464ac99
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)