mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-15 05:59:59 +00:00
fix: Editor page with redundant table fields of the same name in othe… (#1765)
Co-authored-by: 王玉东 <wangyudong@qiyi.com>
This commit is contained in:
@@ -100,7 +100,7 @@ class DorisConnector(RDBMSConnector):
|
||||
for field in fields
|
||||
]
|
||||
|
||||
def get_fields(self, table_name) -> List[Tuple]:
|
||||
def get_fields(self, table_name, db_name=None) -> List[Tuple]:
|
||||
"""Get column fields about specified table."""
|
||||
cursor = self.get_session().execute(
|
||||
text(
|
||||
|
Reference in New Issue
Block a user