We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e2a4c commit 09ed3c4Copy full SHA for 09ed3c4
redash/query_runner/clickhouse.py
@@ -77,7 +77,11 @@ def port(self, port):
77
self._url = self._url._replace(netloc="{}:{}".format(self._url.hostname, port))
78
79
def _get_tables(self, schema):
80
- query = "SELECT database, table, name FROM system.columns WHERE database NOT IN ('system')"
+ query = """
81
+ SELECT database, table, name
82
+ FROM system.columns
83
+ WHERE database NOT IN ('system', 'information_schema', 'INFORMATION_SCHEMA')
84
+ """
85
86
results, error = self.run_query(query, None)
87
0 commit comments