From 95c711fe07cabf901d361eff03d1e248753874e7 Mon Sep 17 00:00:00 2001 From: chenzhx <346839943@qq.com> Date: Tue, 14 Feb 2017 17:41:10 +0800 Subject: [PATCH] KYLIN 2445 UI: select cube engine in Advanced setting page --- webapp/app/js/model/cubeConfig.js | 4 +++ .../partials/cubeDesigner/advanced_settings.html | 31 ++++++++++++++++++---- .../modelDesigner/conditions_settings.html | 21 --------------- 3 files changed, 30 insertions(+), 26 deletions(-) diff --git a/webapp/app/js/model/cubeConfig.js b/webapp/app/js/model/cubeConfig.js index 35af1fc17..dc5ff7a6f 100644 --- a/webapp/app/js/model/cubeConfig.js +++ b/webapp/app/js/model/cubeConfig.js @@ -23,6 +23,10 @@ KylinApp.constant('cubeConfig', { measureExpressions: ['SUM', 'MIN', 'MAX', 'COUNT', 'COUNT_DISTINCT',"TOP_N", 'RAW','EXTENDED_COLUMN','PERCENTILE'], dimensionDataTypes: ["string", "tinyint", "int", "bigint", "date"], cubePartitionTypes: ['APPEND'], + engineType:[ + {name:'MapReduce',value: 2}, + {name:'Spark(Beta)',value: 4} + ], joinTypes: [ {name: 'Left', value: 'left'}, {name: 'Inner', value: 'inner'} diff --git a/webapp/app/partials/cubeDesigner/advanced_settings.html b/webapp/app/partials/cubeDesigner/advanced_settings.html index f26722b35..ffa758951 100755 --- a/webapp/app/partials/cubeDesigner/advanced_settings.html +++ b/webapp/app/partials/cubeDesigner/advanced_settings.html @@ -268,7 +268,24 @@ -