Skip to content

release duckdb-sqlalchemy 1.5.6.10 - #225

Merged
leonardovida merged 2 commits into
mainfrom
Leonardo/release-1.5.6.10
Nov 9, 2026
Merged

leonardovida merged 2 commits into
mainfrom
Leonardo/release-1.5.6.10

Conversation

@leonardovida

Copy link
Copy Markdown
Owner

Summary

Releases 1.5.6.10 with one bulk-insert fix and two performance improvements.

  • Bulk insert fix: an executemany INSERT that reaches duckdb_copy_threshold and mixes float and bool values in a non-numeric column stored booleans as 1.0/0.0. Arrow infers DOUBLE for such a column. These batches now use the ordinary insert path and store true/false.
  • Reflection: the tables and views a get_multi_* call resolves are kept in the Inspector's info_cache. MetaData.reflect() on 20 tables takes 10 statements instead of 24. Names that do not resolve are not cached, so a table created after a failed lookup still reflects on the same Inspector.
  • FixedArray: results are copied with list(value) when items need no conversion, including Float items that DuckDB already returns as floats.
  • Version bump to 1.5.6.10 in pyproject.toml and uv.lock, with CHANGELOG.md and docs/breaking-changes.md entries.

Test evidence

  • pytest duckdb_sqlalchemy: 896 passed, 10 skipped (DuckDB 1.5.6, SQLAlchemy 2.0.52, Python from the local venv).
  • pre-commit (ruff, ruff format, ty) passes on the changed files.
  • New end-to-end tests cover the float/bool batch, the reflection query count, a table created after a failed lookup, a new Inspector after DDL, and FixedArray items with and without NULLs.
  • Not run locally: the full nox matrix and MotherDuck checks.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T20:03:30.510091Z 12a0ce5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 12a0ce5ea2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CHANGELOG.md Outdated

### Highlights

- Large INSERTs no longer store booleans as `1.0` or `0.0` in text columns that also receive floats. PRLINK

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Replace PRLINK placeholders before publishing

When this version bump is merged to main, .github/workflows/publish.yaml extracts the 1.5.6.10 changelog section verbatim and uses it as the GitHub release description, so all seven PRLINK tokens here will become literal public release-note text instead of links; the two copies in docs/breaking-changes.md will also remain unresolved. Replace every placeholder with the actual pull-request link before publishing.

Useful? React with 👍 / 👎.

@leonardovida
leonardovida merged commit 92cf620 into main Nov 9, 2026
31 checks passed
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.

1 participant