[ 
https://issues.apache.org/jira/browse/SPARK-19180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819073#comment-15819073
 ] 

Sean Owen commented on SPARK-19180:
-----------------------------------

Are you sure? most stuff is int aligned in the JVM. You might be right but just 
making sure it is not merely because a short is 2 bytes

> the offset of short is 4 in OffHeapColumnVector's putShorts
> -----------------------------------------------------------
>
>                 Key: SPARK-19180
>                 URL: https://issues.apache.org/jira/browse/SPARK-19180
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: yucai
>             Fix For: 2.2.0
>
>
> the offset of short is 4 in OffHeapColumnVector's putShorts, actually it 
> should be 2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to