You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Timonin (Jira)" <ji...@apache.org> on 2021/03/11 07:50:00 UTC

[jira] [Created] (IGNITE-14303) H2Cursor doesn't match to contract of the GridCursor.

Maksim Timonin created IGNITE-14303:
---------------------------------------

             Summary: H2Cursor doesn't match to contract of the GridCursor.
                 Key: IGNITE-14303
                 URL: https://issues.apache.org/jira/browse/IGNITE-14303
             Project: Ignite
          Issue Type: Bug
            Reporter: Maksim Timonin
            Assignee: Maksim Timonin


Queries like "select max(col) from table" relies on behavior of H2Cursor that differs to GridCursor:
 # It is not "first before". So H2 invoke cursor.get() first, without cursor.next().
 # Then for empty cursor it doesn't expect exception for get. It checks the return value for NULL.

Currently we can't do smth with that as this logic is implemented within H2. But Calcite should handle that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)