Преглед изворни кода

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');
     }