You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Aditya Kishore (JIRA)" <ji...@apache.org> on 2015/02/05 22:37:35 UTC

[jira] [Resolved] (DRILL-2159) TableStatsCalculator

     [ https://issues.apache.org/jira/browse/DRILL-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aditya Kishore resolved DRILL-2159.
-----------------------------------
    Resolution: Fixed

> TableStatsCalculator
> --------------------
>
>                 Key: DRILL-2159
>                 URL: https://issues.apache.org/jira/browse/DRILL-2159
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>    Affects Versions: 0.6.0, 0.7.0
>            Reporter: funian.czq
>            Assignee: Jinfeng Ni
>
> In TableStatsCalculator.getRegionSizeInBytes method, if avgRowSizeInBytes is to large, the return value will be out of int range. So the code should be fixed like "return ((long)avgRowSizeInBytes)*1024L*1024L".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)