소스 검색

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) {