kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-1378) Add UI for TopN measure
Date Fri, 29 Jan 2016 03:03:39 GMT
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)

Mime
View raw message