Skip to content

Commit

Permalink
fix: reset offset to zero after seek(milvus-io#2292)
Browse files Browse the repository at this point in the history
Signed-off-by: MrPresent-Han <[email protected]>
  • Loading branch information
MrPresent-Han committed Oct 12, 2024
1 parent 60ce3af commit 18bf126
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pymilvus/orm/iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def __seek_to_offset(self):
**seek_params,
)
self.__update_cursor(res)
self._kwargs[OFFSET] = 0

def __init_cp_file_handler(self) -> bool:
mode = "w"
Expand Down

0 comments on commit 18bf126

Please sign in to comment.