mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-06 02:46:40 +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
|
session = self.client
|
||||||
|
|
||||||
_query_sql = f"""
|
_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}'
|
database ='{self.client.database}' and table = '{table_name}'
|
||||||
"""
|
"""
|
||||||
with session.query_row_block_stream(_query_sql) as stream:
|
with session.query_row_block_stream(_query_sql) as stream:
|
||||||
|
Loading…
Reference in New Issue
Block a user