You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
In-memory PartiQL: NextToken is a list offset, so pages skip or repeat rows when items change #91
Priority: medium.SELECT pages continue at an offset into the result list (offset:N, backend/memory/partiql.rs, select), not after the last key they evaluated. With Limit=2, page 1 returns sk 0 and 1; delete those two rows, and page 2 returns sk 4 and 5, where DynamoDB returns 2 and 3. Inserts before the position repeat rows. A "select a page, delete it, continue" cleanup loop misses items on the in-memory backend. last_evaluated_key is never set on SELECT pages either.
Fix: encode the key of the last evaluated item in NextToken and continue after it.
Found in a review of the library for bugs (fctl session); the fixes that fit in its ten pull requests are #61 to #65, #67 to #70 and #72.
Activity
fix(memory): PartiQL pages continue after the last item the page read (…