فهرست منبع

HUE-8155 [metastore] Fix issue where all columns are marked as keys

Johan Ahlen 7 سال پیش
والد
کامیت
c8c58a1c22
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      desktop/core/src/desktop/templates/ko_components/ko_catalog_entries_table.mako

+ 1 - 1
desktop/core/src/desktop/templates/ko_components/ko_catalog_entries_table.mako

@@ -232,7 +232,7 @@ from desktop.views import _ko
         self.joinColumns = ko.observableArray();
 
         self.isKey = ko.pureComputed(function () {
-          return self.catalogEntry.isPrimaryKey() || self.catalogEntry.isPartitionKey || self.joinColumns().length;
+          return self.catalogEntry.isPrimaryKey() || self.catalogEntry.isPartitionKey() || self.joinColumns().length;
         });
 
         self.keyText = ko.pureComputed(function () {