fix:[chatdb] clickhouse occur error AttributeError: 'ClickhouseConnect… (#1432)

This commit is contained in:
dusens 2024-04-18 23:46:08 +08:00 committed by GitHub
parent 00af9fed35
commit baa1e3f9f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -150,6 +150,11 @@ class ClickhouseConnector(RDBMSConnector):
for name, column_type, _, _, comment in fields[0]
]
@property
def dialect(self) -> str:
"""Return string representation of dialect to use."""
pass
def get_fields(self, table_name) -> List[Tuple]:
"""Get column fields about specified table."""
session = self.client