Clickhouse-connect

Latest version: v0.7.8

Safety actively analyzes 623567 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 15

0.7.8

Breaking Change
- The default behavior of applying the client timezone if the GMT offset of the client matched the GMT offset
of the server for the current time has been changed. The new default is to **always** apply the server timezone
unless the optional `apply_server_timezone` `get_client` parameter is explicitly set to `False`. The previous behavior
could cause confusing results where datetime values would be rendered in a Daylight Savings Time/Summer Time zone when
DST was not active, and vice versa.

0.7.7

Bug Fix
- Fixed client side binding for complex types containing floats or integers that was broken in version 0.7.5.
Closes https://github.com/ClickHouse/clickhouse-connect/issues/335.
Improvement
- Added a `raw_stream` method to the Client the returns an io.Base. Use this instead of the `raw_query` method
with the (now removed) optional `stream` keyword boolean. Thanks to [Martijn Thé](https://github.com/martijnthe) for
the PR that highlighted the somewhat messy public API.

0.7.6

Bug Fix
- Fixed issue with SQLAlchemy Point type. Closes https://github.com/ClickHouse/clickhouse-connect/issues/332.

0.7.5

Bug Fixes
- Fixed client side binding for Python format strings using `%d` (int) and `%f` (float) format patterns. Closes
https://github.com/ClickHouse/clickhouse-connect/issues/327
- Allows empty `data` argument in the initializer of `ExternalFile` / `ExternalData` objects. Thanks to
[martijnthe](https://github.com/martijnthe) for the PR!

0.7.4

Improvement
- Added the new client method `query_arrow_stream` for streaming PyArrow queries from ClickHouse. Big thanks to
[NotSimone](https://github.com/NotSimone) for the feature and tests! Closes https://github.com/ClickHouse/clickhouse-connect/issues/155.

0.7.3

Improvement
- Add summary field to Cursor object to retrieve the result of 'X-Clickhouse-Summary' header. Thanks to
[elchyn-cheliabiyeu](https://github.com/elchyn-cheliabiyeu) for the PR!

Page 1 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.