[
https://issues.apache.org/jira/browse/IOTDB-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045091#comment-17045091
]
Jialin Qiao commented on IOTDB-504:
-----------------------------------
Hi, In the new query engine, we have fixed all hasNext and next method. This
could be closed
> Confusing implementations of next()
> -----------------------------------
>
> Key: IOTDB-504
> URL: https://issues.apache.org/jira/browse/IOTDB-504
> Project: Apache IoTDB
> Issue Type: Bug
> Affects Versions: master branch
> Reporter: Tian Jiang
> Priority: Major
> Labels: query, reader
> Attachments: image-2020-02-20-17-54-01-852.png
>
>
> Some implementations of `next()` in readers are confusing, calling `next()`
> without calling `hasNext()` will not move the cursor to the next element,
> which is counter-common-practice. See the attachment for one example.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)