mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Complete dictionary names in clickhouse-client
Since system.tables does not includes all dictionaries (dictionaries declared via configuration files -- *.xml), and since this are those dictionaries we should use regular system.dictionaries.name over system.dictionaries.origin.
This commit is contained in:
parent
5d3383edbe
commit
16a22daf00
@ -114,6 +114,8 @@ void Suggest::loadImpl(Connection & connection, const ConnectionTimeouts & timeo
|
||||
<< " UNION ALL "
|
||||
"SELECT DISTINCT name FROM system.tables LIMIT " << limit_str
|
||||
<< " UNION ALL "
|
||||
"SELECT DISTINCT name FROM system.dictionaries LIMIT " << limit_str
|
||||
<< " UNION ALL "
|
||||
"SELECT DISTINCT name FROM system.columns LIMIT " << limit_str;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user