spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chip Sands (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-4496) smallint (16 bit value) is being send as a 32 bit value in the thrift interface.
Date Tue, 10 Mar 2015 14:40:38 GMT

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message