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

[jira] [Commented] (IGNITE-9991) thin clients: can't use array as cache key for PHP, JS and Python clients

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

Pavel Petroshenko commented on IGNITE-9991:
-------------------------------------------

Until the issue is fixed on the Ignite side, there is nothing to be done with the Thin clients.

> 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: Minor
>
> 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)