Clickhouse-connect

Latest version: v0.7.12

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

Scan your dependencies

Page 13 of 16

0.4.0

New Features
* The settings, table information, and insert progress used for client inserts has been centralized in a new reusable InsertContext object. Client insert methods can now accept such objects to simplify code and reduce overhead
* Query results can now be returned in a column oriented format. This is useful to efficiently construct other objects (like Pandas dataframes) that use column storage internally
* The transformation of Pandas data to Python types now bypasses Numpy. As a result compatibility for ClickHouse date, integer, and NULL types has been significantly improved

Bug Fixes
* An insert using chunked transfer encode could fail in progress during serialization to ClickHouse native format. This would "hang" the request after throwing the exception, leading to ClickHouse reporting
"concurrent session" errors. This has been fixed.
* Pandas DataFrame inserts into tables with a "large" integer column would throw an exception. This has been fixed.
* Pandas DataFrame inserts with NaT/NA/nan values would fail, even if inserted into Nullable column types. This has been fixed.

Known Issues
* Numpy inserts into large integer columns are not supported. https://github.com/ClickHouse/clickhouse-connect/issues/69
* Insert of Pandas timestamps with nanosecond precision will lose the nanosecond value. https://github.com/ClickHouse/clickhouse-connect/issues/68

0.3.8

Bug Fixes
* Fix read compression typo

0.3.7

New Features
* Insert performance and memory usage for large inserts has been significantly improved
* Insert blocks now use chunked transfer encoding (by sending a generator instead of a bytearray to the requests POST method)
* If the client is initialized with compress = True, gzip compression is now enabled for inserts
* Pandas DataFrame inserts have been optimized by keep the data in columnar format during the entire insert process

Bug Fixes
* Fix inserts for date and datetime columns from Pandas dataframes.
* Fix serialization issues for Decimal128 and Decimal256 types

0.3.6

Bug Fixes
* Update QueryContext.updated_copy method to preserve settings, parameters, etc. https://github.com/ClickHouse/clickhouse-connect/issues/65

0.3.5

New Features
* Build Python 3.11 Wheels

0.3.4

Bug fixes
* Correctly handle insert into JSON/Object('json') column via SQLAlchemy
* Fix some incompatibilities with SQLAlchemy 1.4

Page 13 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.