Fix Clickhouse SQL syntax error for RdbmsSummary (#2651)

This commit is contained in:
seoibiubiu 2025-04-24 22:44:46 +08:00 committed by GitHub
parent 0b3ac35ede
commit 430235bd1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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