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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to