You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stepan Pilschikov (JIRA)" <ji...@apache.org> on 2018/10/24 15:22:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Stepan Pilschikov updated IGNITE-9991:
--------------------------------------
    Summary: thin clients: can't use array as cache key for PHP, JS and Python clients  (was: thin clients: can't get cache by array key for PHP, JS and Python 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: 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)