You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/11/22 10:11:01 UTC

[GitHub] [incubator-druid] pzhdfy opened a new pull request #8929: [bugfix]fix getAvgSizePerGranularity in DerivativeDataSourceManager(materializedview)

pzhdfy opened a new pull request #8929: [bugfix]fix getAvgSizePerGranularity in DerivativeDataSourceManager(materializedview)
URL: https://github.com/apache/incubator-druid/pull/8929
 
 
   ### Description
   
   getAvgSizePerGranularity in DerivativeDataSourceManager is  designed to compute average data size per segment granularity.
   But now it just return the size of a segment.
   After I check the code.
   it uses org.skife.jdbi.v2.Query::first() , other than org.skife.jdbi.v2.Query::list(),
   so it just compute one segment.
   use org.skife.jdbi.v2.Query::list() will do the right things.
   
   
   This PR has:
   - [x] been self-reviewed.
   
   
   <hr>
   
   

----------------------------------------------------------------
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: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org