You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/09/20 18:16:32 UTC

[GitHub] [incubator-superset] KKcorps opened a new pull request #8271: Fix: Missing time series datapoints in druid show up as absurd values in line chart

KKcorps opened a new pull request #8271: Fix: Missing time series datapoints in druid show up as absurd values in line chart
URL: https://github.com/apache/incubator-superset/pull/8271
 
 
   ### CATEGORY
   
   Choose one
   
   - [X] Bug Fix
   - [ ] Enhancement (new features, refinement)
   - [ ] Refactor
   - [ ] Add tests
   - [ ] Build / Development Environment
   - [ ] Documentation
   
   ### SUMMARY
   When a time series query is passed on to druid, if skipEmptyBuckets is not set to True, druid  will fill the missing time buckets in the interval with the default value of the aggregators. This leads to absurd values showing up in the time series line or bar charts such as -9223372036854775808 (which is Long.MIN_VALUE in Java) if you do a MAX aggregation on Long metric and 9223372036854775807 if you do a MIN aggregation on Long metric. SUM aggregation returns a default of 0.0 
   Such large values completely distort the chart.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org