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

Chip Sands commented on SPARK-4496:
-----------------------------------

getSchema() is describing a  result column  as a  smallint  (16 bit value).   
On the fetch()  the values is coming back as a 32 bit value.

So you allocate a  16 bit space for the result column and then a 32 bit value 
is coming back.  You should be returning smallint as a 16 bit value in the 
fetch.

> smallint (16 bit value)  is being send as a  32 bit  value in the thrift 
> interface.
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-4496
>                 URL: https://issues.apache.org/jira/browse/SPARK-4496
>             Project: Spark
>          Issue Type: Bug
>          Components: Input/Output
>    Affects Versions: 1.1.0
>            Reporter: Chip Sands
>




--
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