Since commit https://github.com/cube-js/cube.js/pull/3664/files if a pivot does not have any values for particular combination of dimensions, '0' is returned. This is suboptimal, because in a number of contexts, missing data and zero have different meaning. For example, I use cubejs to visualize certain business predictions, where missing data can indicate a technical problem, while "0" indicates a business problem.
Since commit https://github.com/cube-js/cube.js/pull/3664/files if a pivot does not have any values for particular combination of dimensions, '0' is returned. This is suboptimal, because in a number of contexts, missing data and zero have different meaning. For example, I use cubejs to visualize certain business predictions, where missing data can indicate a technical problem, while "0" indicates a business problem.
To reproduce
Start cubejs with docker with
Make sure the version is 0.30.7 (the current one as of today) or later.
Connect to a database (I've used clickhouse)
Define schema as
Go to the build tab, and build the query as follows:
Run the query.
Observed effect
Each table cell we have no values for shows "0"
Expected effect
Each table cell we have no value for is empty. Previously (at least in version 0.27.35), that's exactly what happened.
Version: 0.30.7