فهرست منبع

HUE-3163 [editor] Save results to Hive table redirects to Metastore but doesn’t display new table

Enrico Berti 9 سال پیش
والد
کامیت
4b9f8b6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      apps/beeswax/src/beeswax/static/beeswax/js/beeswax.vm.js

+ 1 - 1
apps/beeswax/src/beeswax/static/beeswax/js/beeswax.vm.js

@@ -908,7 +908,7 @@ function BeeswaxViewModel(server, assistHelper) {
             self.design.results.save.errors(null);
 
             var redirect_fn = function() {
-              window.location.href = data.success_url;
+              window.location.href = data.success_url + (data.success_url.indexOf("?") > -1 ? "&" : "?") + "refresh=true";
               self.design.isRunning(false);
             };
             if (data.id) {