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:
yudong
2024-08-05 19:26:39 +08:00
committed by GitHub
parent 5bd946fbdd
commit 9fe060a771
7 changed files with 16 additions and 14 deletions

View File

@@ -88,7 +88,7 @@ table name should keep its schema name in "
logger.warning(f"vertica get users error: {str(e)}")
return []
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."""
session = self._db_sessions()
cursor = session.execute(