[jira] [Updated] (ARROW-1678) [Python] Incorrect serialization of numpy.float16

2017-10-16 Thread ASF GitHub Bot (JIRA)

 [ 
https://issues.apache.org/jira/browse/ARROW-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-1678:
--
Labels: pull-request-available  (was: )

> [Python] Incorrect serialization of numpy.float16
> -
>
> Key: ARROW-1678
> URL: https://issues.apache.org/jira/browse/ARROW-1678
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Python
>Affects Versions: 0.7.1
>Reporter: Licht Takeuchi
>  Labels: pull-request-available
> Fix For: 0.8.0
>
>
> The issue can be reproduced as follows.
> {code:python}
> import pyarrow as pa
> import numpy as np
> t = np.float16(-1.1)
> print(type(t), t) #  -1.0996
> p = pa.serialize(t)
> t_new = pa.deserialize(p.to_buffer())
> print(type(t_new), t_new) #   0
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (ARROW-1678) [Python] Incorrect serialization of numpy.float16

2017-10-16 Thread Wes McKinney (JIRA)

 [ 
https://issues.apache.org/jira/browse/ARROW-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wes McKinney updated ARROW-1678:

Fix Version/s: 0.8.0

> [Python] Incorrect serialization of numpy.float16
> -
>
> Key: ARROW-1678
> URL: https://issues.apache.org/jira/browse/ARROW-1678
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Python
>Affects Versions: 0.7.1
>Reporter: Licht Takeuchi
> Fix For: 0.8.0
>
>
> The issue can be reproduced as follows.
> {code:python}
> import pyarrow as pa
> import numpy as np
> t = np.float16(-1.1)
> print(type(t), t) #  -1.0996
> p = pa.serialize(t)
> t_new = pa.deserialize(p.to_buffer())
> print(type(t_new), t_new) #   0
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (ARROW-1678) [Python] Incorrect serialization of numpy.float16

2017-10-16 Thread Licht Takeuchi (JIRA)

 [ 
https://issues.apache.org/jira/browse/ARROW-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Licht Takeuchi updated ARROW-1678:
--
Affects Version/s: 0.7.1

> [Python] Incorrect serialization of numpy.float16
> -
>
> Key: ARROW-1678
> URL: https://issues.apache.org/jira/browse/ARROW-1678
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Python
>Affects Versions: 0.7.1
>Reporter: Licht Takeuchi
>
> The issue can be reproduced as follows.
> {code:python}
> import pyarrow as pa
> import numpy as np
> t = np.float16(-1.1)
> print(type(t), t) #  -1.0996
> p = pa.serialize(t)
> t_new = pa.deserialize(p.to_buffer())
> print(type(t_new), t_new) #   0
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)