mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-30 23:28:35 +00:00
Fix Clickhouse SQL syntax error for RdbmsSummary (#2651)
This commit is contained in:
parent
0b3ac35ede
commit
430235bd1b
@ -181,7 +181,7 @@ class ClickhouseConnector(RDBMSConnector):
|
||||
session = self.client
|
||||
|
||||
_query_sql = f"""
|
||||
SELECT name AS table, primary_key, from system.tables where
|
||||
SELECT name AS table, primary_key from system.tables where
|
||||
database ='{self.client.database}' and table = '{table_name}'
|
||||
"""
|
||||
with session.query_row_block_stream(_query_sql) as stream:
|
||||
|
Loading…
Reference in New Issue
Block a user