aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorSylvain Zimmer <sylvain@sylvainzimmer.com>2016-07-28 09:51:45 -0700
committerReynold Xin <rxin@databricks.com>2016-07-28 09:51:45 -0700
commit1178d61ede816bf1c8d5bb3dbb3b965c9b944407 (patch)
tree8333924d7f3131d6791d36c5672fc3ed9cb1f28b /python
parent9ade77c3fa2e1bf436b79368a97d5980c12fe215 (diff)
downloadspark-1178d61ede816bf1c8d5bb3dbb3b965c9b944407.tar.gz
spark-1178d61ede816bf1c8d5bb3dbb3b965c9b944407.tar.bz2
spark-1178d61ede816bf1c8d5bb3dbb3b965c9b944407.zip
[SPARK-16740][SQL] Fix Long overflow in LongToUnsafeRowMap
## What changes were proposed in this pull request? Avoid overflow of Long type causing a NegativeArraySizeException a few lines later. ## How was this patch tested? Unit tests for HashedRelationSuite still pass. I can confirm the python script I included in https://issues.apache.org/jira/browse/SPARK-16740 works fine with this patch. Unfortunately I don't have the knowledge/time to write a Scala test case for HashedRelationSuite right now. As the patch is pretty obvious I hope it can be included without this. Thanks! Author: Sylvain Zimmer <sylvain@sylvainzimmer.com> Closes #14373 from sylvinus/master.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions