Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump clickhouse-connect from 0.7.19 to 0.8.3 #1315

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 15, 2024

Bumps clickhouse-connect from 0.7.19 to 0.8.3.

Release notes

Sourced from clickhouse-connect's releases.

v0.8.3 Async Client Executor Threads

What's Changed

Full Changelog: ClickHouse/clickhouse-connect@v0.8.2...v0.8.3

v0.8.2 Arrow Insert Compression

What's Changed

Full Changelog: ClickHouse/clickhouse-connect@V0.8.1...v0.8.2

V0.8.1 Buffer Cleanup

What's Changed

Full Changelog: ClickHouse/clickhouse-connect@v0.8.0...V0.8.1

v0.8.0 New JSON support

What's Changed

New Contributors

Full Changelog: ClickHouse/clickhouse-connect@v0.7.19...v0.8.0

Changelog

Sourced from clickhouse-connect's changelog.

0.8.3, 2024-10-07

Improvement

  • Add an optional executor_threads argument to the get_async_client method. This controls the number of concurrent threads that each AsyncClient has available for queries. Defaults to "number of CPU cores plus four". Closes ClickHouse/clickhouse-connect#407

0.8.2, 2024-10-04

Bug Fix

Improvement

0.8.1, 2024-09-29

Bug Fix

  • Fixed an edge case where the HTTP buffer could theoretically return empty blocks.

0.8.0, 2024-09-26

Experimental Feature - "New" JSON/Dynamic/Variant DataTypes

Usage Notes

  • JSON data can be inserted as either a Python dictionary or a JSON string containing a JSON object {}. Other forms of JSON data are not supported
  • Valid formats for the JSON type are 'native', which returns a Python dictionary, or 'string', which returns a JSON string
  • Any value can be inserted into a Variant column, and ClickHouse will try to correctly determine the correct Variant Type for the value, based on its String representation.
  • More complete documentation for the new types will be provided in the future.

Known limitations:

  • Each of these types must be enabled in the ClickHouse settings before using. The "new" JSON type is available started with the 24.8 release
  • Returned JSON objects will only return the max_dynamic_paths number of elements (which defaults to 1024). This will be fixed in a future release.
  • Inserts into Dynamic columns will always be the String representation of the Python value. This will be fixed in a future release.
  • The implementation for the new types has not been optimized in C code, so performance may be somewhat slower than for simpler, established data types.

This is the first time that a new clickhouse_connect features has been labeled "experimental", but these new datatypes are complex and still experimental in ClickHouse server. Current test coverage for these types is also quite limited. Please don't hesitate to report issues with the new types.

Bug Fixes

  • When operating ClickHouse Server in strict TLS mode, HTTPS connections require a client certificate even if that certificate is not used for authentication. A new client parameter tls_mode='strict' can be used in this situation where username/password authentication is being used with client certificates. Other valid values for the new tls_mode setting are 'proxy' when TLS termination occurs at a proxy, and 'mutual' to specify mutual TLS authentication is used by the ClickHouse server. If tls_mode is not set, and a client certificate and key are provided, mutual is assumed.
  • The server timezone was not being used for parameter binding if parameters were sent as a list instead of a dictionary. This should fully fix the reopened ClickHouse/clickhouse-connect#377.
  • String port numbers (such as from environmental variables) are now correctly interpreted to determine the correct interface/protocol.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Build:

  • Update clickhouse-connect dependency from version 0.7.19 to 0.8.3 in setup.py.

Bumps [clickhouse-connect](https://github.com/ClickHouse/clickhouse-connect) from 0.7.19 to 0.8.3.
- [Release notes](https://github.com/ClickHouse/clickhouse-connect/releases)
- [Changelog](https://github.com/ClickHouse/clickhouse-connect/blob/main/CHANGELOG.md)
- [Commits](ClickHouse/clickhouse-connect@v0.7.19...v0.8.3)

---
updated-dependencies:
- dependency-name: clickhouse-connect
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 15, 2024
Copy link
Contributor

sourcery-ai bot commented Oct 15, 2024

Reviewer's Guide by Sourcery

This pull request updates the clickhouse-connect dependency from version 0.7.19 to 0.8.3 in the setup.py file. The update includes several new features, improvements, and bug fixes across multiple minor versions.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update clickhouse-connect dependency version
  • Change clickhouse-connect version from 0.7.19 to 0.8.3
setup.py
New features and improvements in clickhouse-connect
  • Add executor_threads parameter to async client
  • Implement Arrow insert compression
  • Add support for new JSON/Dynamic/Variant DataTypes (experimental)
  • Improve error messages for unexpected NULL values
Bug fixes in clickhouse-connect
  • Fix lz4 compression issue with empty blocks
  • Resolve HTTP buffer edge case
  • Fix TLS mode issues for strict server configurations
  • Correct server timezone usage for parameter binding

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 24, 2024

Superseded by #1323.

@dependabot dependabot bot closed this Oct 24, 2024
@dependabot dependabot bot deleted the dependabot/pip/clickhouse-connect-0.8.3 branch October 24, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants