- Fix:
Enumcolumns no longer raiseTypeError: String.__init__() got an unexpected keyword argument '_enums'.Enumnow resolves to a dedicatedDatabricksEnumTypeinstead of being adapted through theStringcolspec, keeping Enum validation and length inference while escaping literals the Databricks way (fixes #61)
- Fix: Quote bind parameter names containing non-identifier characters (e.g. hyphens, backticks) so columns and parameters with special characters bind correctly (#60 by @msrathore-db)
- Fix: Bind UUID values in canonical hyphenated form (#63 by @sreekanth-db, fixes #50)
- Fix: Support pandas multi-row inserts with mixed-type columns via adaptive CAST, including bind names that contain escape-map characters, with an opt-out gate (#68, #69 by @msrathore-db)
- Fix: Use public
user_agent_entryconnect parameter instead of deprecated_user_agent_entryto silence the deprecation warning fromdatabricks-sql-connector >= 4.0.1(#64 by @jprakash-db) - Fix: Promote
Float(precision > 24)toDOUBLEinCREATE TABLEto preserve precision (#65 by @jayantsing-db)
- Feature: Added
pool_pre_pingsupport viado_ping()override to detect and recycle dead connections (#54 by @msrathore-db) - Fix: Pinned poetry version in CI workflows to fix build failures (#54 by @msrathore-db)
- Feature: Added support for variant datatype (#42 by @msrathore-db)
- Feature: Added support for complex data types such as DatabricksArray and DatabricksMap [Private Preview] (#30 by @jprakash-db)
- Relaxed pin for
pyarrow(#20 by @dhirschfeld)
- Added support for double column types (#19 by @up-stevesloan)
- All the SQLAlchemy features from
databricks-sql-connector>=4.0.0have been moved to thisdatabricks-sqlalchemylibrary - Support for SQLAlchemy v2 dialect is provided