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

0.8.0 Release #400

Merged
merged 16 commits into from
Sep 26, 2024
Merged

0.8.0 Release #400

merged 16 commits into from
Sep 26, 2024

Conversation

genzgd
Copy link
Collaborator

@genzgd genzgd commented Sep 26, 2024

Summary

Adds support for new Variant, Dynamic, and JSON columns. Closes #302 and #398.
Fixes interpretation of string port values. Closes #395
Adds a buffer for HTTP streaming queries. Partial fix #399
Adds tls_mode parameter to allow connecting to ClickHouse server in openssl strict mode with username and password.
Adds mechanism to bind datetime parameters to ClickHouse DateTime64 values. Closes #396
Fixes LIMIT 0 insert queries. Closes #389
Uses server_tz when doing client size binding with a list. Closes #377

Checklist

Delete items not relevant to your PR:

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG

@genzgd genzgd merged commit d113091 into main Sep 26, 2024
23 of 24 checks passed
@genzgd genzgd deleted the new_json_dev branch September 26, 2024 14:22
@pkit
Copy link

pkit commented Sep 26, 2024

Please write in changelog when you move things around.
For example moving quote_identifier was really unexpected.

@genzgd
Copy link
Collaborator Author

genzgd commented Sep 26, 2024

Just to be clear, if doesn't have a doc string it's not considered part of the public API, so there are no guarantees that it won't be moved or otherwise refactored. That said, I think it makes sense to have some of the utility functions documented and "fixed".

@genzgd
Copy link
Collaborator Author

genzgd commented Sep 26, 2024

Sorry, I should have said "documentation", since that's what's in the back of my mind when refactoring code, and doc strings are not a perfect proxy for that. If you have suggestions for utility functions that are worth documenting, I'll include them in the documentation update currently in progress.

@pkit
Copy link

pkit commented Sep 26, 2024

So far that's what we used.

from clickhouse_connect import create_client  # type: ignore
from clickhouse_connect.driver.client import Client  # type: ignore
from clickhouse_connect.driver.exceptions import DatabaseError  # type: ignore
from clickhouse_connect.driver.query import quote_identifier as I  # type: ignore

And that's a pretty big project with ~100k loc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment