refactor: assistant support all sqlbot datasource #467

This commit is contained in:
junjun
2025-11-28 10:18:35 +08:00
committed by Junjun
parent 96332cd5ee
commit 1fb1ae6f8e
+1 -1
View File
@@ -170,7 +170,7 @@ class AssistantOutDs:
for table in ds.tables:
i += 1
schema_table = ''
schema_table += f"# Table: {db_name}.{table.name}" if ds.type != "mysql" else f"# Table: {table.name}"
schema_table += f"# Table: {db_name}.{table.name}" if ds.type != "mysql" and ds.type != "es" else f"# Table: {table.name}"
table_comment = table.comment
if table_comment == '':
schema_table += '\n[\n'