[Mondrian] ChooseByVolume=true and integer overflow
Wright, Jeff
jeff.s.wright at truvenhealth.com
Wed Oct 12 11:45:41 EDT 2016
http://jira.pentaho.com/browse/MONDRIAN-2529
From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On Behalf Of Luc Boudreau
Sent: Tuesday, October 11, 2016 11:20 AM
To: Mondrian developer mailing list <mondrian at pentaho.org>
Subject: Re: [Mondrian] ChooseByVolume=true and integer overflow
Yes, please log a new case.
Thanks Jeff!
On Tue, Oct 11, 2016 at 8:57 AM, Wright, Jeff <jeff.s.wright at truvenhealth.com<mailto:jeff.s.wright at truvenhealth.com>> wrote:
For aggregate table selection by volume, we’re seeing that it’s pretty easy to get wrong behavior due to integer overflow. For example, if you have an aggregate table with 40M rows, and a row width of 600 bytes, the volume is 2.4B which is > max int. See getVolume() in mondrian.rolap.aggmatcher.AggStar, also getSize() and getRowCount().
I found http://jira.pentaho.com/browse/MONDRIAN-1920 which describes a problem with ChooseByVolume for Mondrian 4. Sounds like our issue is different? Do you think the overflow deserves its own JIRA?
--Jeff Wright
_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<mailto:Mondrian at pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20161012/1c79af62/attachment.html
More information about the Mondrian
mailing list