funian.czq created DRILL-2159:
---------------------------------
Summary: 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.7.0, 0.6.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)