You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ch...@apache.org on 2017/07/30 09:15:45 UTC

kylin git commit: KYLIN 2769 Non partitioned cube not show start and end time

Repository: kylin
Updated Branches:
  refs/heads/2.1.x c40944e1a -> 0a383dcf7


KYLIN 2769 Non partitioned cube not show start and end time


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

Branch: refs/heads/2.1.x
Commit: 0a383dcf70896080503eae0d0844c2b9dca0a163
Parents: c40944e
Author: chenzhx <34...@qq.com>
Authored: Sun Jul 30 17:14:07 2017 +0800
Committer: chenzhx <34...@qq.com>
Committed: Sun Jul 30 17:14:50 2017 +0800

----------------------------------------------------------------------
 webapp/app/partials/cubes/cube_detail.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/0a383dcf/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 4319b94..0113c12 100755
--- a/webapp/app/partials/cubes/cube_detail.html
+++ b/webapp/app/partials/cubes/cube_detail.html
@@ -103,8 +103,8 @@
                 <h5><b>Segment:</b> {{table.segmentName}}</h5>
                 <ul>
                     <li ng-if="cube.streaming">Status: <span class="red">{{table.segmentStatus}}</span></li>
-                    <li>Start Time: <span class="red">{{table.dateRangeStart | reverseToGMT0}}</span></li>
-                    <li>End Time: <span class="red">{{table.dateRangeEnd | reverseToGMT0}}</span></li>
+                    <li ng-if="cube.model.partition_desc.partition_date_column">Start Time: <span class="red">{{table.dateRangeStart | reverseToGMT0}}</span></li>
+                    <li ng-if="cube.model.partition_desc.partition_date_column">End Time: <span class="red">{{table.dateRangeEnd | reverseToGMT0}}</span></li>
                     <li>Source Count: <span class="red">{{table.sourceCount}}</span></li>
                     <li>HBase Table: <span class="red">{{table.tableName}}</span></li>
                     <li>Region Count: <span class="red">{{table.regionCount}}</span></li>