Hi ¡¡,  I'm not expert  in Kylin  :)

Perhaps, this can be useful for you:
https://issues.apache.org/jira/browse/KYLIN-976

The problem: this jira don't have example / doc or code changeSet  ... but:

   -
   
https://github.com/apache/kylin/blob/696fb89aa2eb684408d1009218f80fe323dffd3b/core-metadata/src/main/java/org/apache/kylin/measure/MeasureTypeFactory.java#L110


   -
   
https://github.com/apache/kylin/blob/6c298fac2acd7d311e82002e0854e896037883c8/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java#L455


and perhaps: the property in the "kylin.cube.measure.customMeasureType" you
can specify a list of strings of 'customFactory' of MeasureTypeFactory class
<https://github.com/apache/kylin/blob/696fb89aa2eb684408d1009218f80fe323dffd3b/core-metadata/src/main/java/org/apache/kylin/measure/MeasureTypeFactory.java#L66>


BR, Alberto



2016-08-18 10:13 GMT+02:00 Bhanu Prakash Sunkesula <[email protected]>
:

> Hello,
>
> we also had the same issue, where my business spokes has expected a Derived
> measure with normal measures, but as of now there is no direct solution for
> this in KYLIN (apart from SQL Query in Insight tab). Indirectly we had a
> workaround by creating a column TotalSalary  = SUM(HRA) + SUM(DA)
> in hive and need to populate it in KYLIN Cube.
>
> Regards,
> Bhanu Prakash.
>
> --
> View this message in context: http://apache-kylin.74782.x6.
> nabble.com/Derived-measures-in-Kylin-tp5513p5592.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.
>

Reply via email to