You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2018/10/30 01:22:48 UTC

[kylin] branch 2.4.x updated: KYLIN-3646 Add instruction about rowkey sequence in "Advanced setting" page

This is an automated email from the ASF dual-hosted git repository.

shaofengshi pushed a commit to branch 2.4.x
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/2.4.x by this push:
     new 7afd99b  KYLIN-3646 Add instruction about rowkey sequence in "Advanced setting" page
7afd99b is described below

commit 7afd99be2f408d9b57d3e6fa1e9a5545784d8fa6
Author: Emiya0306 <wo...@qq.com>
AuthorDate: Wed Oct 24 18:42:52 2018 +0800

    KYLIN-3646 Add instruction about rowkey sequence in "Advanced setting" page
---
 webapp/app/partials/cubeDesigner/advanced_settings.html | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/webapp/app/partials/cubeDesigner/advanced_settings.html b/webapp/app/partials/cubeDesigner/advanced_settings.html
index 963d472..89229d0 100755
--- a/webapp/app/partials/cubeDesigner/advanced_settings.html
+++ b/webapp/app/partials/cubeDesigner/advanced_settings.html
@@ -198,10 +198,12 @@
         </div>
         <div class="form-group large-popover" >
           <h3 style="margin-left:42px">Rowkeys  <i kylinpopover placement="right" title="Rowkey" template="rowkeyTip.html" class="fa fa-info-circle"></i></h3>
-
+          <div style="padding: 0 42px; word-break: normal;">
+            <b>Important: </b>Dimension's positioin on HBase rowkey is critical for performance. You can drag and drop to adjust the sequence. In short, put filtering dimension before non-filtering dimension, and  put high cardinality dimension before low cardinality dimension.
+          </div>
           <div style="margin-left:42px">
               <div class="box-body">
-                <table style="margin-left:42px; width:92%;position:relative"
+                <table style="width:92%;position:relative"
                        ng-if="cubeMetaFrame.rowkey.rowkey_columns.length > 0"
                        class="table table-hover table-bordered list">
                   <thead>
@@ -303,7 +305,7 @@
           <div style="margin-left:42px;">
             <div class="box-body">
               <!-- view mode-->
-              <table ng-if="cubeMetaFrame.mandatory_dimension_set_list.length > 0 && state.mode!=='edit'" class="table table-hover table-bordered list" style="table-layout: fixed;margin-left:42px;width:92%;">
+              <table ng-if="cubeMetaFrame.mandatory_dimension_set_list.length > 0 && state.mode!=='edit'" class="table table-hover table-bordered list" style="table-layout: fixed;width:92%;">
                 <thead>
                   <tr>
                     <th>Cuboids</th>
@@ -318,7 +320,7 @@
                 </tbody>
               </table>
               <!-- edit mode-->
-              <table ng-if="state.mode=='edit'" class="table table-hover table-bordered list" style="table-layout: fixed;margin-left:42px;width:92%;">
+              <table ng-if="state.mode=='edit'" class="table table-hover table-bordered list" style="table-layout: fixed;width:92%;">
                 <thead>
                   <tr>
                     <th>Cuboids</th>
@@ -509,7 +511,7 @@
            <div style="margin-left:42px">
              <!-- edit mode-->
              <div ng-if="state.mode=='edit'" class="box-body">
-               <table class="table table-hover table-bordered list" style="table-layout: fixed;margin-left:42px;width:92%;">
+               <table class="table table-hover table-bordered list" style="table-layout: fixed;width:92%;">
                  <thead>
                    <tr>
                      <th style="width:60%">Snapshot Table</th>
@@ -571,7 +573,7 @@
              </div>
              <!-- view-->
              <div ng-if="state.mode=='view'" class="box-body">
-               <table class="table table-hover table-bordered list" style="table-layout: fixed;margin-left:42px;width:92%;">
+               <table class="table table-hover table-bordered list" style="table-layout: fixed;width:92%;">
                   <thead>
                    <tr>
                      <th style="width:60%">Snapshot Table</th>