Explorar o código

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

Enrico Berti %!s(int64=9) %!d(string=hai) anos
pai
achega
4b9f8b6457
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {