github ClickHouse/clickhouse-connect v0.11.0

11 hours ago

What's Changed

Improvements

  • Add support for mid-stream exceptions. Closes #626
  • Add support for QBit data type. Closes #570
  • Add the ability to create table from PyArrow objects. Addresses #588
  • Always generate query_id from the client side as a UUID4 if it is not explicitly set. Closes #596
  • Extend support for creating tables from PyArrow objects to include datetime/timestamp types. Closes #605
  • Add pre-commit hooks for auto-linting contributions at commit time. Addresses #607
  • Auto-enable cancel_http_readonly_queries_on_client_close setting for HTTP clients to ensure SELECT queries are cancelled on the server when the client disconnects. Closes #641

Bug Fixes

  • Raise OperationalError when ResponseSource hits network failure before any data is received. Previously, empty result would be returned. Closes #620
  • Fixed a bug where InsertContext state was not reset on insert failure, leading to reuse errors when data was passed separately. Closes #616
  • Fixed UTC-equivalent timezone recognition issue where servers returning Etc/UCT, GMT, or other UTC-equivalent timezone names caused inconsistent behavior with utc_tz_aware=False. DateTime columns with explicit UTC timezones now correctly return naive datetimes when utc_tz_aware=False regardless of the specific UTC-equivalent timezone name returned by the server. Closes #629
  • Extend UTC-equivalence checks to Arrow queries.

New Contributors

Full Changelog: v0.10.0...v0.11.0

Don't miss a new clickhouse-connect release

NewReleases is sending notifications on new releases.