diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-02-06 12:16:37 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-02-06 12:33:49 +0300 |
commit | f4e5229f058bb21a8e634dd57f78585b40abd65a (patch) | |
tree | 3f175c6df5e992aecbefacb1a8ab361ae1ef5670 /contrib/python/clickhouse-connect/clickhouse_connect/cc_sqlalchemy | |
parent | 1daa4c5f73655eacce7b28d9494c831827970ef3 (diff) | |
download | ydb-f4e5229f058bb21a8e634dd57f78585b40abd65a.tar.gz |
Intermediate changes
Diffstat (limited to 'contrib/python/clickhouse-connect/clickhouse_connect/cc_sqlalchemy')
-rw-r--r-- | contrib/python/clickhouse-connect/clickhouse_connect/cc_sqlalchemy/inspector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/clickhouse-connect/clickhouse_connect/cc_sqlalchemy/inspector.py b/contrib/python/clickhouse-connect/clickhouse_connect/cc_sqlalchemy/inspector.py index 3ec8f0a109..d8936e67c2 100644 --- a/contrib/python/clickhouse-connect/clickhouse_connect/cc_sqlalchemy/inspector.py +++ b/contrib/python/clickhouse-connect/clickhouse_connect/cc_sqlalchemy/inspector.py @@ -40,7 +40,7 @@ class ChInspector(Inspector): raise NoResultFound(f'Table {full_table} does not exist') columns = [] for row in result_set: - sqla_type = sqla_type_from_name(row.type) + sqla_type = sqla_type_from_name(row.type.replace('\n', '')) col = {'name': row.name, 'type': sqla_type, 'nullable': sqla_type.nullable, |