Fixed an issue where column comments were not displayed in the SQL tab for materialised views. #9486

pull/9605/head
Pravesh Sharma 2026-02-09 14:46:15 +05:30 committed by GitHub
parent 5abd9e3c5b
commit f52584eef8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -2124,6 +2124,7 @@ class MViewNode(ViewNode, VacuumSettings):
sql_data += self.get_rule_sql(vid, display_comments)
sql_data += self.get_trigger_sql(vid, display_comments)
sql_data += self.get_index_sql(did, vid, display_comments)
sql_data += self.get_columns_sql(did, vid)
sql_data = sql_data.strip('\n')
if not json_resp:
@ -2268,6 +2269,7 @@ class MViewNode(ViewNode, VacuumSettings):
# merging formated result with main result again
result.update(frmtd_reslt)
self.view_schema = result.get('schema')
result['vacuum_table'] = self.parse_vacuum_data(
self.conn, result, 'table')