aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-12-16 09:14:17 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-12-16 09:46:36 +0300
commit56dd7ec32045c6dd9d839dc4d4e1a68366bd8c96 (patch)
tree2d1924b2aaf727698483493dd03994e8654efb97 /contrib
parent469e936f82d9914c0ef2e9f2238ac7fe90f024a7 (diff)
downloadydb-56dd7ec32045c6dd9d839dc4d4e1a68366bd8c96.tar.gz
Update contrib/python/clickhouse-connect to 0.6.22
Diffstat (limited to 'contrib')
-rw-r--r--contrib/python/clickhouse-connect/.dist-info/METADATA2
-rw-r--r--contrib/python/clickhouse-connect/clickhouse_connect/__version__.py2
-rw-r--r--contrib/python/clickhouse-connect/clickhouse_connect/driver/query.py2
-rw-r--r--contrib/python/clickhouse-connect/clickhouse_connect/driver/transform.py2
-rw-r--r--contrib/python/clickhouse-connect/ya.make2
5 files changed, 5 insertions, 5 deletions
diff --git a/contrib/python/clickhouse-connect/.dist-info/METADATA b/contrib/python/clickhouse-connect/.dist-info/METADATA
index 74a30402bf..5fa5eb3be3 100644
--- a/contrib/python/clickhouse-connect/.dist-info/METADATA
+++ b/contrib/python/clickhouse-connect/.dist-info/METADATA
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: clickhouse-connect
-Version: 0.6.21
+Version: 0.6.22
Summary: ClickHouse Database Core Driver for Python, Pandas, and Superset
Home-page: https://github.com/ClickHouse/clickhouse-connect
Author: ClickHouse Inc.
diff --git a/contrib/python/clickhouse-connect/clickhouse_connect/__version__.py b/contrib/python/clickhouse-connect/clickhouse_connect/__version__.py
index ecb766dd57..82bda8ba8d 100644
--- a/contrib/python/clickhouse-connect/clickhouse_connect/__version__.py
+++ b/contrib/python/clickhouse-connect/clickhouse_connect/__version__.py
@@ -1 +1 @@
-version = '0.6.21'
+version = '0.6.22'
diff --git a/contrib/python/clickhouse-connect/clickhouse_connect/driver/query.py b/contrib/python/clickhouse-connect/clickhouse_connect/driver/query.py
index 3fb5aa7dac..a7c06ec619 100644
--- a/contrib/python/clickhouse-connect/clickhouse_connect/driver/query.py
+++ b/contrib/python/clickhouse-connect/clickhouse_connect/driver/query.py
@@ -20,7 +20,7 @@ from clickhouse_connect.driver.options import check_arrow, pd_extended_dtypes
from clickhouse_connect.driver.context import BaseQueryContext
logger = logging.getLogger(__name__)
-commands = 'CREATE|ALTER|SYSTEM|GRANT|REVOKE|CHECK|DETACH|DROP|DELETE|KILL|' + \
+commands = 'CREATE|ALTER|SYSTEM|GRANT|REVOKE|CHECK|DETACH|ATTACH|DROP|DELETE|KILL|' + \
'OPTIMIZE|SET|RENAME|TRUNCATE|USE'
limit_re = re.compile(r'\s+LIMIT($|\s)', re.IGNORECASE)
diff --git a/contrib/python/clickhouse-connect/clickhouse_connect/driver/transform.py b/contrib/python/clickhouse-connect/clickhouse_connect/driver/transform.py
index e781f63179..3181b9e5e4 100644
--- a/contrib/python/clickhouse-connect/clickhouse_connect/driver/transform.py
+++ b/contrib/python/clickhouse-connect/clickhouse_connect/driver/transform.py
@@ -105,7 +105,7 @@ class NativeTransform:
# the insert if the user has included bad data in the column. We need to ensure that the
# insert fails (using garbage data) to avoid a partial insert, and use the context to
# propagate the correct exception to the user
- logger.error('Error serializing column `%s` into into data type `%s`',
+ logger.error('Error serializing column `%s` into data type `%s`',
col_name, col_type.name, exc_info=True)
context.insert_exception = ex
yield 'INTERNAL EXCEPTION WHILE SERIALIZING'.encode()
diff --git a/contrib/python/clickhouse-connect/ya.make b/contrib/python/clickhouse-connect/ya.make
index 01eb1e5ef9..ddab31e4d9 100644
--- a/contrib/python/clickhouse-connect/ya.make
+++ b/contrib/python/clickhouse-connect/ya.make
@@ -2,7 +2,7 @@
PY3_LIBRARY()
-VERSION(0.6.21)
+VERSION(0.6.22)
LICENSE(Apache-2.0)