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

Alexey Kosenchuk commented on IGNITE-9991:
------------------------------------------

Reproduced with NodeJS and PHP clients.
Reproduced with Java thin client as well.

This seems the server's issue.

Put operation works fine. It's possible to see the new entry (eg. using scan 
query operation).

But after that, get and containsKey operations do not return anything for the 
array-key.

 

> thin clients: can't use array as cache key for PHP, JS and Python clients
> -------------------------------------------------------------------------
>
>                 Key: IGNITE-9991
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9991
>             Project: Ignite
>          Issue Type: Bug
>          Components: thin client
>    Affects Versions: 2.7
>            Reporter: Stepan Pilschikov
>            Priority: Major
>
> Trying to put cache with key as values array
> Put Py code
> {code}
> cache = client.get_or_create_cache("PY_BOOLEAN_ARRAY")
> cache.put([True, False], 1, key_hint=BoolArrayObject, value_hint=IntObject)
> {code}
> Get
> {code}
> cache = client.get_or_create_cache("PY_BOOLEAN_ARRAY")
> print(cache.get([True, False] key_hint=BoolArrayObject))
> {code}
> output: null
> Same thing with PHP, JS clients and all others array data types



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

Reply via email to