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
One-shot iterators passed as hash_id_columns produce incorrect IDs after the first row #991
hash_id_columns accepts an iterable, but an iterator is consumed by the first call to hash_record(). Later rows are hashed without the requested columns, so distinct rows can get the same primary key.
The second row gets the hash of an empty record on main at 74c0b6c. Passing ['code'] produces the intended IDs for both rows. Reproduced on Python 3.13 on Windows. OpenAI Codex assisted with investigation, testing, and this draft.
Activity