liyang created KYLIN-3429:
-----------------------------

             Summary: Have a default measure value to save storage space
                 Key: KYLIN-3429
                 URL: https://issues.apache.org/jira/browse/KYLIN-3429
             Project: Kylin
          Issue Type: Improvement
            Reporter: liyang


The idea is from Alberto.

When a Cuboid is very sparse, like below:

 
||Dim1||Dim2||Measure||
|1|A|0|
|1|B|100|
|1|C|0|
|2|A|0|
|2|B|0|
|2|C|130|

It becomes beneficial to store only the non-zero lines and remember a default 
measure value for the rest.

That is to only save the below lines, plus the default value 0.
||Dim1||Dim2||Measure||
|1|B|100|
|2|C|130|

However this comes with the assumption that all combinations of dimensions 
exist in cuboid.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to