Clickhouse-connect

Latest version: v0.7.14

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

Scan your dependencies

Page 12 of 16

0.4.8

New Features
* [Documentation](https://clickhouse.com/docs/en/integrations/language-clients/python/intro) has been expanded to cover recent updates.
* File upload support. The new `driver.tools` module adds the function `insert_file` to simplify
directly inserting data files into a table. See the [test file](https://github.com/ClickHouse/clickhouse-connect/blob/main/tests/integration_tests/test_tools.py)
for examples. This closes https://github.com/ClickHouse/clickhouse-connect/issues/41.
* Added support for server side [http query parameters](https://clickhouse.com/docs/en/interfaces/http/#cli-queries-with-parameters)
For queries that contain bindings of the form `{<name>:<datatype>}`, the client will automatically convert the query* method
`parameters` dictionary to the appropriate http query parameters. Closes https://github.com/ClickHouse/clickhouse-connect/issues/49.
* The main `clickhouse_connect.get_client` command will now accept a standard Python `dsn` argument and extract host, port,
user, password, and settings (query parameters) from the dsn. Note that values for other keyword parameters will take
precedence over values extracted from the dsn.
* The QueryResult object now contains convenience properties for the `first_item`, `first_row`, and `row_count` in the result.

0.4.7

Bug Fixes
* JSON inserts with the ujson failed, this has been fixed. https://github.com/ClickHouse/clickhouse-connect/issues/84

New Features
* The JSON/Object datatype now supports writes using JSON strings as well as Python native types

0.4.6

Bug Fixes
* Fixed a major settings issue with connecting to a readonly database (introduced in v0.4.4)
* Fix for broken database setup dialog with recent Superset versions using SQLAlchemy 1.4

0.4.5

Bug Fixes
* Common settings were stored in an immutable named tuple and could not be changed. This is fixed.
* Fixed issue where the query_arrow method would not use the client database

0.4.4

Bug Fixes
* Ignore all "transport settings" when validating settings. This should fix https://github.com/ClickHouse/clickhouse-connect/issues/80
for older ClickHouse versions

0.4.3

New Features
* The get_client method now accepts a http_adapter parameter to allow sharing a requests.HTTPAdapter (and its associated
connection pool) across multiple clients.
* The VERSION file is now included in every package installation. Closes https://github.com/ClickHouse/clickhouse-connect/issues/76

Page 12 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.