kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhongj...@apache.org
Subject [1/2] incubator-kylin git commit: KYLIN-818 return type should be bigint when sum for interger column
Date Mon, 08 Jun 2015 12:12:31 GMT
Repository: incubator-kylin
Updated Branches:
  refs/heads/origin/0.8.0 [created] d853c7a31


KYLIN-818 return type should be bigint when sum for interger column


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

Branch: refs/heads/origin/0.8.0
Commit: 39be6b3bc0532dfbefe1165b07e2b91d316c8db8
Parents: 8b60283
Author: jiazhong <jiazhong@ebay.com>
Authored: Mon Jun 8 15:58:58 2015 +0800
Committer: jiazhong <jiazhong@ebay.com>
Committed: Mon Jun 8 20:11:59 2015 +0800

----------------------------------------------------------------------
 webapp/app/js/controllers/cubeSchema.js    | 2 +-
 webapp/app/partials/cubes/cube_detail.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/39be6b3b/webapp/app/js/controllers/cubeSchema.js
----------------------------------------------------------------------
diff --git a/webapp/app/js/controllers/cubeSchema.js b/webapp/app/js/controllers/cubeSchema.js
index b939ada..034fe5f 100755
--- a/webapp/app/js/controllers/cubeSchema.js
+++ b/webapp/app/js/controllers/cubeSchema.js
@@ -106,7 +106,7 @@ KylinApp.controller('CubeSchemaCtrl', function ($scope, QueryService,
UserServic
 
             switch($scope.newMeasure.function.expression){
                 case "SUM":
-                    if(colType==="smallint"||colType==="int"||colType==="bigint"){
+                    if(colType==="smallint"||colType==="int"||colType==="bigint"||colType==="integer"){
                         $scope.newMeasure.function.returntype= 'bigint';
                     }else{
                         if(colType.indexOf('decimal')!=-1){

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/39be6b3b/webapp/app/partials/cubes/cube_detail.html
----------------------------------------------------------------------
diff --git a/webapp/app/partials/cubes/cube_detail.html b/webapp/app/partials/cubes/cube_detail.html
index dd0ea7c..4288ae0 100755
--- a/webapp/app/partials/cubes/cube_detail.html
+++ b/webapp/app/partials/cubes/cube_detail.html
@@ -125,7 +125,7 @@
                 <ul>
                     <li>Region Count: <span class="red">{{table.regionCount}}</span></li>
                     <li>Size: <span class="red">{{table.tableSize | bytes:2}}</span></li>
-                    <li>Start Time <span class="red">{{table.dateRangeStart |
reverseToGMT0}}</span></li>
+                    <li>Start Time: <span class="red">{{table.dateRangeStart
| reverseToGMT0}}</span></li>
                     <li>End Time: <span class="red">{{table.dateRangeEnd | reverseToGMT0}}</span></li>
                 </ul>
             </div>


Mime
View raw message