Github user vvysotskyi commented on the issue: https://github.com/apache/drill/pull/905 Since Drill does not have enough information about tables in the planning time to avoid this OOM and since without using the `getMaxRowCount()` for `ScanPrel`, current approach could not be used and it would be better to defer the fix for this issue until the table statistics is implemented.
---