Vsevolod Ostapenko created KYLIN-3185:
-----------------------------------------
Summary: Change handling of new metrics in the hybrid cube
scenario to return NULL values for segments built before metrics were added
Key: KYLIN-3185
URL: https://issues.apache.org/jira/browse/KYLIN-3185
Project: Kylin
Issue Type: Improvement
Components: Query Engine
Affects Versions: v2.2.0
Environment: HDP 2.5.6, Kylin 2.2.0
Reporter: Vsevolod Ostapenko
Assignee: liyang
Currently, when a hybrid cube is defined and a new metric is added, cube
segments that were created before the metric was introduced are not consulted,
if a query contains this new metric.
As the result, even data for metrics that existed and were computed are not
returned.
A better behavior would be to find an intersection between metrics present in a
segment and metrics requested by the query and for given segment returnĀ all the
available metrics and inject NULL values for ones that did not exist at the
time of cube segment population.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)