You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by zh...@apache.org on 2016/08/05 07:11:46 UTC

kylin git commit: KYLIN-1941 show user for slow query

Repository: kylin
Updated Branches:
  refs/heads/master 59e5eeed3 -> cce90a034


KYLIN-1941 show user for slow query


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/cce90a03
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/cce90a03
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/cce90a03

Branch: refs/heads/master
Commit: cce90a0347cff25a2854a617781f225c80873389
Parents: 59e5eee
Author: Jason <ji...@163.com>
Authored: Fri Aug 5 15:11:27 2016 +0800
Committer: Jason <ji...@163.com>
Committed: Fri Aug 5 15:11:27 2016 +0800

----------------------------------------------------------------------
 webapp/app/js/model/jobConfig.js       | 1 +
 webapp/app/partials/jobs/badQuery.html | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/cce90a03/webapp/app/js/model/jobConfig.js
----------------------------------------------------------------------
diff --git a/webapp/app/js/model/jobConfig.js b/webapp/app/js/model/jobConfig.js
index ae0a306..f4b918d 100644
--- a/webapp/app/js/model/jobConfig.js
+++ b/webapp/app/js/model/jobConfig.js
@@ -41,6 +41,7 @@ KylinApp.constant('jobConfig', {
   ],
   queryitems: [
   {attr: 'server', name: 'Server'},
+  {attr: 'user', name: 'User'},
   {attr: 'sql', name: 'Sql'},
   {attr: 'adj', name: 'Description'},
   {attr: 'running_seconds', name: 'Running Seconds'},

http://git-wip-us.apache.org/repos/asf/kylin/blob/cce90a03/webapp/app/partials/jobs/badQuery.html
----------------------------------------------------------------------
diff --git a/webapp/app/partials/jobs/badQuery.html b/webapp/app/partials/jobs/badQuery.html
index 59eb1d1..6a51e8e 100644
--- a/webapp/app/partials/jobs/badQuery.html
+++ b/webapp/app/partials/jobs/badQuery.html
@@ -49,10 +49,11 @@
       ng-class="{accordion:true}" ng-click="bqstate.selectedQuery = bquery"
       style="cursor: pointer"
       class="{{bquery==bqstate.selectedQuery? 'tr-highlight': ''}} table-bordered">
-      <td style="max-width: 350px;word-wrap: break-word;word-break: normal;">
+      <td style="max-width: 200px;word-wrap: break-word;word-break: normal;">
         {{bquery.server}}
       </td>
-      <td>{{bquery.sql}}</td>
+      <td>{{bquery.user}}</td>
+      <td style="max-width: 350px;word-wrap: break-word;word-break: normal;">{{bquery.sql}}</td>
       <td>
         {{bquery.adj}}
       </td>