You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2016/01/29 04:03:39 UTC
[jira] [Created] (KYLIN-1378) Add UI for TopN measure
Shaofeng SHI created KYLIN-1378:
-----------------------------------
Summary: Add UI for TopN measure
Key: KYLIN-1378
URL: https://issues.apache.org/jira/browse/KYLIN-1378
Project: Kylin
Issue Type: Sub-task
Components: Web
Reporter: Shaofeng SHI
Assignee: Zhong,Jason
Need the user interface for user to define the TopN. User need to selecting: 1) the literal column; 2) the metrics column; 3) the expression (default SUM); 4) the soring order (default Desc).
A sample is:
{
"name" : "TOP_SELLER",
"function" : {
"expression" : "TOP_N",
"parameter" : {
"name": "counter",
"type" : "column",
"value" : "PRICE",
"next_parameter" : {
"name": "literal",
"type" : "column",
"value" : "SELLER_ID",
"next_parameter" : {
"name": "expression",
"type" : "",
"value" : "SUM",
"next_parameter" : {
"name": "order",
"type" : "",
"value" : "DESC"
}
}
},
"returntype" : "topn(100)"
},
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)