GitHub user ppadma opened a pull request:
https://github.com/apache/drill/pull/1179
DRILL-6254: IllegalArgumentException: the requested size must be non-â¦
â¦negative
We should limit memory allocation to number of records that are going to be
in the next batch, not the total number of records remaining. For very large
remaining record count, when multiplied with high cardinality, integer
overflows and is becoming negative.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ppadma/drill DRILL-6254
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/1179.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1179
----
commit c26e8f44b9c873d0d7acabac3623a3a8e19086eb
Author: Padma Penumarthy <ppenumar97@...>
Date: 2018-03-21T20:39:43Z
DRILL-6254: IllegalArgumentException: the requested size must be
non-negative
----
---