question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception when open tables list of Clickhouse connection

See original GitHub issue

System 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:

  1. Open app;
  2. Create (or use existing) Clickhouse connection;
  3. Connect to the server;
  4. 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))

1658733089

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
LonwoLonwocommented, Aug 2, 2022

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.

1reaction
Raygekucommented, Aug 11, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found