This is an automated email from the ASF dual-hosted git repository. boblu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push: new a96e642 KYLIN-3778 fix project level datasource a96e642 is described below commit a96e6428a4eee5519542978b891291b0602bdd92 Author: Emiya0306 <worfandsh...@gmail.com> AuthorDate: Mon Jan 21 19:11:50 2019 +0800 KYLIN-3778 fix project level datasource --- webapp/app/js/controllers/sourceMeta.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/app/js/controllers/sourceMeta.js b/webapp/app/js/controllers/sourceMeta.js index 1fc0fee..5c834f4 100755 --- a/webapp/app/js/controllers/sourceMeta.js +++ b/webapp/app/js/controllers/sourceMeta.js @@ -268,7 +268,7 @@ KylinApp $scope.loadHive = function () { if($scope.hiveLoaded) return; - TableService.showHiveDatabases({}, function (databases) { + TableService.showHiveDatabases({project: $scope.projectName}, function (databases) { $scope.dbNum = databases.length; if (databases.length > 0) { $scope.hiveMap = {}; @@ -393,7 +393,7 @@ KylinApp $scope.showToggle = function(node) { if(node.expanded == false){ - TableService.showHiveTables({"database": node.label},function (hive_tables){ + TableService.showHiveTables({"database": node.label, project: $scope.projectName},function (hive_tables){ var tables = []; for (var i = 0; i < hive_tables.length; i++) { tables.push(hive_tables[i]);