Closed purplefox closed 2 months ago
@purplefox, I would like to take this one. Could you assign it to me?
Happy to give this one to you if you want to give it a go. The tricky part will be in getting the MergingIterator to work with the new API.
Hi @watson28 please see latest comments on the PR
Issues fixed, so now closed
The current Iterator https://github.com/spirit-labs/tektite/blob/main/iteration/iter.go abstraction seems overcomplex leading to complex implementations.
We should consider simplifying it to something like:
Related to this. currently MergingIterator advances to next element if IsValid() is called twice in a row without Next()