Skip to content

duckdb-sqlalchemy 1.5.5.8

Choose a tag to compare

@leonardovida leonardovida released this 18 Sep 08:15
3978dca

Highlights

  • Bulk inserts preserve SQLAlchemy defaults, expressions, and aliased column keys regardless of batch size. #166

Features

  • Export SQLAlchemy SELECT queries to Parquet with bound parameters and custom bind conversions through copy_to_parquet. This was already merged before this maintenance fix. #165

Bug Fixes

  • Avoid silent NULL values from skipped SQL defaults and missing-column errors for aliased keys or SQL expressions above the bulk threshold. Unsupported shapes now use the original compiled executemany statement. #166

Maintenance

  • Clarify the README and provide direct task-based documentation links. #164

Compatibility

  • Supported dependency ranges are unchanged. Affected batches may be slower because correctness takes precedence over the register optimization; plain inserts retain the fast path. #166

Verification

  • Local tests: 312 passed, 8 skipped; bulk/export boundary tests: 22 passed on DuckDB 1.3.0/SQLAlchemy 2.0.0; SQLAlchemy 2.1 prerelease bulk tests: 13 passed. Pre-commit, build, twine and isolated-wheel checks passed. #166

Full diff: v1.5.5.7...v1.5.5.8

Published verification: fresh no-cache PyPI wheel and sdist installs passed all four insert regression smokes. Publishing, exact merged-commit CI, and lint passed.