GitHub user yucai opened a pull request:
https://github.com/apache/spark/pull/16555
[SPARK-19180][SQL] the offset of short should be 4 in OffHeapColumn
## What changes were proposed in this pull request?
the offset of short is 4 in OffHeapColumnVector's putShorts, but actually
it should be 2.
## How was this patch tested?
unit test
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yucai/spark offheap_short
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16555.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 #16555
----
commit 44388a174d7c0021f14bbae7387b7190587d0553
Author: Yucai Yu <[email protected]>
Date: 2017-01-11T20:12:13Z
[SPARK-19180][SQL] the offset of short should be 4 in OffHeapColumnVector's
putShorts
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]