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 Tupitsyn (Jira)" <ji...@apache.org> on 2022/06/10 11:28:00 UTC
[jira] [Updated] (IGNITE-17153) Java thin: ClientCache#query is lazy and does not match thick API behavior
[ https://issues.apache.org/jira/browse/IGNITE-17153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-17153:
------------------------------------
Summary: Java thin: ClientCache#query is lazy and does not match thick API behavior (was: Java thin: Update javadoc for ClientCache#query and explain lazy behavior)
> Java thin: ClientCache#query is lazy and does not match thick API behavior
> --------------------------------------------------------------------------
>
> Key: IGNITE-17153
> URL: https://issues.apache.org/jira/browse/IGNITE-17153
> Project: Ignite
> Issue Type: Bug
> Components: thin client
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Minor
> Fix For: 2.14
>
>
> *FieldsQueryCursor<List<?>> query(SqlFieldsQuery qry)* method does not execute the query if you don't iterate over the returned cursor.
> This behavior differs from the thick API and can come as a surprise.
> Either document it or change it to match the thick API.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)