Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17153

Java thin: ClientCache#query is lazy and does not match thick API behavior

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5
    • 2.15
    • thin client
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: