Kylin doesn¹t support custom function in measure; Usually we suggest user
to achieve this by defining additional column in a hive view, and then use
the view as the fact table for cube building; That will make things easy;
In eBay internal there are already several cases using this way;

On 8/28/15, 7:12 PM, "Vineet Mishra" <[email protected]> wrote:

>Hi All,
>
>I was curious to know whether can we create some additional metric(custom)
>to the Kylin cube build.
>
>So it would be something like an additional column which is made from
>combination of some conditional and aggregate function.
>
>COUNT(CASE WHEN so.ft = 'fv' THEN soi.sc ELSE NULL END) AS spo
>
>Thanks!

Reply via email to