Clickhouse-connect

Latest version: v0.7.9

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

Scan your dependencies

Page 1 of 16

0.8.0

instead of being passed as ClickHouse server settings. This is in conjunction with some refactoring in Client construction.
The supported method of passing ClickHouse server settings is to prefix such arguments/query parameters with`ch_`.

0.7.9

Bug Fixes
- query_df would raise a deprecation warning with recent Pandas version if there were empty blocks. This should be fixed.
https://github.com/ClickHouse/clickhouse-connect/issues/349
- avoid a warning in timezone handling using the tzlocal library. Thanks to [Tanner](https://github.com/tstenson) for the
fix

Improvement
- The new client keyword argument `show_clickhouse_errors` controls whether the full ClickHouse error (including possibly
sensitive information) is displayed when there is an error in ClickHouse processing. It defaults to True. If False,
the simple string 'The ClickHouse server returned an error.' will be displayed. Closes https://github.com/ClickHouse/clickhouse-connect/issues/344.
- Updated to Cython 3.0.10

Improvement

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!

Page 1 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.