Exception when open tables list of Clickhouse connection
See original GitHub issueSystem information:
- Operating system (distribution) and version: Windows 11 21H2
- DBeaver version: 22.1.3
- Additional extensions; DBeaver Office Support
Connection specification:
- Database name and version: Clickhouse 21.1.2.15
- Driver name: Clickhouse (Legacy)
- Do you use tunnels or proxies (SSH, SOCKS, etc)? Yes, SSH tunnel
Describe the problem you’re observing:
When I try to open tables list I get a following error:
Code: 47, e.displayText() = DB::Exception: Missing columns: 'comment' while processing query: 'SELECT name AS TABLE_NAME, engine AS TABLE_TYPE, database AS TABLE_SCHEM, comment AS REMARKS, database, name, uuid, engine, is_temporary, data_paths, metadata_path, metadata_modification_time, dependencies_database, dependencies_table, create_table_query, engine_full, partition_key, sorting_key, primary_key, sampling_key, storage_policy, total_rows, total_bytes, lifetime_rows, lifetime_bytes FROM system.tables WHERE database = 'default'', required columns: 'engine' 'database' 'sorting_key' 'total_rows' 'lifetime_rows' 'comment' 'uuid' 'metadata_path' 'engine_full' 'partition_key' 'lifetime_bytes' 'name' 'data_paths' 'metadata_modification_time' 'dependencies_database' 'is_temporary' 'storage_policy' 'create_table_query' 'dependencies_table' 'primary_key' 'sampling_key' 'total_bytes', maybe you meant: (version 21.1.2.15 (official build))
Steps to reproduce, if exist:
- Open app;
- Create (or use existing) Clickhouse connection;
- Connect to the server;
- Click on
Tables
item in connections view.
Include any warning/errors/backtraces from the logs
eclipse.buildId=unknown
java.version=11.0.12
java.vendor=Eclipse Foundation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU
Command-line arguments: -os win32 -ws win32 -arch x86_64
org.jkiss.dbeaver.model
Ошибка
Mon Jul 25 10:19:06 MSK 2022
java.lang.Throwable: Code: 47, e.displayText() = DB::Exception: Missing columns: 'comment' while processing query: 'SELECT name AS TABLE_NAME, engine AS TABLE_TYPE, database AS TABLE_SCHEM, comment AS REMARKS, database, name, uuid, engine, is_temporary, data_paths, metadata_path, metadata_modification_time, dependencies_database, dependencies_table, create_table_query, engine_full, partition_key, sorting_key, primary_key, sampling_key, storage_policy, total_rows, total_bytes, lifetime_rows, lifetime_bytes FROM system.tables WHERE database = 'default'', required columns: 'engine' 'database' 'sorting_key' 'total_rows' 'lifetime_rows' 'comment' 'uuid' 'metadata_path' 'engine_full' 'partition_key' 'lifetime_bytes' 'name' 'data_paths' 'metadata_modification_time' 'dependencies_database' 'is_temporary' 'storage_policy' 'create_table_query' 'dependencies_table' 'primary_key' 'sampling_key' 'total_bytes', maybe you meant: (version 21.1.2.15 (official build))
Issue Analytics
- State:
- Created a year ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Troubleshooting | ClickHouse Docs
Check the IP Access List, if you are attempting to connect from outside the allowed list then your connection will fail. Self-managed ClickHouse...
Read more >errors | ClickHouse Docs
... a list of physical addresses where the called methods are stored. remote (UInt8) — remote exception (i.e. received during one of the...
Read more >System Tables | ClickHouse Docs
A ClickHouse server creates such system tables at the start. ... If set together, the server would raise an exception and exit. An...
Read more >HTTP Interface | ClickHouse Docs
The HTTP interface lets you use ClickHouse on any platform from any programming language in a form of REST API. The HTTP interface...
Read more >ClickHouse Connect Driver API - Python
If '*' is used instead, ClickHouse Connect will execute a "pre-query" to retrieve all of the column names for the table. database, str,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello everyone.
We have Early Acces DBeaver 22.1.4 version: https://dbeaver.io/files/ea/ It can be raw in some places because it’s not tested for now, but this bug is fixed in this version.
For me and my teammate, it worked.
Thanks!