Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend/apps/db/db_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ def get_field_sql(ds: CoreDatasource, conf: DatasourceConf, table_name: str = No
END) AS "DATA_TYPE",
NVL(com.COMMENTS, '') AS "COLUMN_COMMENT"
FROM
DBA_TAB_COLUMNS col
ALL_TAB_COLUMNS col
LEFT JOIN
DBA_COL_COMMENTS com
ALL_COL_COMMENTS com
ON col.OWNER = com.OWNER
AND col.TABLE_NAME = com.TABLE_NAME
AND col.COLUMN_NAME = com.COLUMN_NAME
Expand Down