Эх сурвалжийг харах

HUE-9408 [ui] Column comments are not displayed in Table browser

sreenaths 5 жил өмнө
parent
commit
526e74ffae

+ 3 - 0
desktop/core/src/desktop/js/catalog/dataCatalogEntry.js

@@ -816,6 +816,9 @@ class DataCatalogEntry {
     if (self.navigatorMeta && (self.getDialect() === 'hive' || self.getDialect() === 'impala')) {
       return self.navigatorMeta.description || self.navigatorMeta.originalDescription || '';
     }
+    if (self.definition && self.definition.comment) {
+      return self.definition.comment;
+    }
     return (self.sourceMeta && self.sourceMeta.comment) || '';
   }