Преглед на файлове

HUE-8145 [metastore] Make sure partitions and samples are refreshed after pressing refresh in the table browser

Johan Ahlen преди 7 години
родител
ревизия
0502076f07
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      apps/metastore/src/metastore/static/metastore/js/metastore.model.js

+ 2 - 0
apps/metastore/src/metastore/static/metastore/js/metastore.model.js

@@ -554,6 +554,8 @@ var MetastoreTable = (function () {
     var self = this;
     if (!self.loading()) {
       self.loading(true);
+      self.samples.loaded(false);
+      self.partitions.loaded(false);
       // Clear will publish when done
       self.catalogEntry.clear(self.catalogEntry.getSourceType() === 'impala' ? 'invalidate' : 'cache');
     }