Skip to content

Preserve iterator columns when creating indexes - #934

Open
IlyaKhalafi wants to merge 1 commit into
simonw:mainfrom
IlyaKhalafi:daily/2026-11-08/sqlite-utils
Open

IlyaKhalafi wants to merge 1 commit into
simonw:mainfrom
IlyaKhalafi:daily/2026-11-08/sqlite-utils

Conversation

@IlyaKhalafi

@IlyaKhalafi IlyaKhalafi commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

This PR fixes create_index failing on one-shot column iterators when generating the index name. The same columns now supply both the name and the index definition.

Closes #933

Tested all 205 create tests, Black, flake8 and mypy on Python 3.12.


📚 Documentation preview 📚: https://sqlite-utils--934.org.readthedocs.build/en/934/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

create_index exhausts iterator columns while deriving the index name

1 participant