ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Petroshenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-9991) thin clients: can't use array as cache key for PHP, JS and Python clients
Date Fri, 29 Mar 2019 12:07:00 GMT

    [ 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)

Mime
View raw message