You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2016/02/02 08:13:39 UTC
[jira] [Updated] (KYLIN-1378) Add UI for TopN measure
[ https://issues.apache.org/jira/browse/KYLIN-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shaofeng SHI updated KYLIN-1378:
--------------------------------
Description:
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:
{code}
{
"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"
"next_parameter" : {
"name": "encoding",
"type" : "",
"value" : "dict"
}
}
}
},
"returntype" : "topn(100)"
},
{code}
was:
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)"
},
> 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:
> {code}
> {
> "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"
> "next_parameter" : {
> "name": "encoding",
> "type" : "",
> "value" : "dict"
> }
> }
> }
> },
> "returntype" : "topn(100)"
> },
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)