RupengWang commented on pull request #942:
URL: https://github.com/apache/kylin/pull/942#issuecomment-642487187
## Design test cases
### Prepare test env
- create cube and build segment (2012-01-01 ~ 2013-01-01)
- dimension : price, part_dt
- measure : sum(price)
### Case-1
Make sure the sql result is null and then make sure there's no exception
about "Write metric error.java.lang.NullPointerException" in kylin.log
```sql
select sum(price) from kylin_sales where part_dt > '2014-01-01'
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]