I. Create a Project
-
Go to
Query
page in top menu bar, then clickManage Projects
. -
Click the
+ Project
button to add a new project. -
Fulfill the following form and click
submit
button to send a request. -
After success, there will be a notification show in the bottom.
II. Sync up a Table
-
Click
Tables
in top bar and then click the+ Sync
button to load hive table metadata. -
Enter the table names and click
Sync
to send a request.
III. Create a Cube
To start with, click Cubes
in top bar.Then click +Cube
button to enter the cube designer page.
Step 1. Cube Info
Fill up the basic information of the cube. Click Next
to enter the next step.
You can use letters, numbers and ‘_’ to name your cube (Notice that space in name is not allowed).
Step 2. Dimensions
-
Set up the fact table.
-
Click
+Dimension
to add a new dimension. -
There are different types of dimensions that might be added to a cube. Here we list some of them for your reference.
-
Dimensions from fact table.
-
Dimensions from look up table.
-
Dimensions from look up table with hierarchy.
-
Dimensions from look up table with derived dimensions.
-
-
User can edit the dimension after saving it.
Step 3. Measures
-
Click the
+Measure
to add a new measure.
-
There are 5 different types of measure according to its expression:
SUM
,MAX
,MIN
,COUNT
andCOUNT_DISTINCT
. Please be carefully to choose the return type, which is related to the error rate of theCOUNT(DISTINCT)
.-
SUM
-
MIN
-
MAX
-
COUNT
-
DISTINCT_COUNT
-
Step 4. Filter
This step is optional. You can add some condition filter in SQL
format.
Step 5. Refresh Setting
This step is designed for incremental cube build.
Choose partition type, partition column and start date.
Step 6. Advanced Setting
Step 7. Overview & Save
You can overview your cube and go back to previous step to modify it. Click the Save
button to complete the cube creation.