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

Robert Nishihara commented on ARROW-1628:
-----------------------------------------

[~wesmckinn] It'd still be good to fix, so I think we should leave the issue 
open, but I don't think it needs to be prioritized at the moment.

> [Python] Incorrect serialization of numpy datetimes.
> ----------------------------------------------------
>
>                 Key: ARROW-1628
>                 URL: https://issues.apache.org/jira/browse/ARROW-1628
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Robert Nishihara
>            Priority: Major
>
> See https://github.com/ray-project/ray/issues/1041.
> The issue can be reproduced as follows.
> {code}
> import pyarrow as pa
> import numpy as np
> t = np.datetime64(datetime.datetime.now())
> print(type(t), t)  # <class 'numpy.datetime64'> 2017-09-30T09:50:46.089952
> t_new = pa.deserialize(pa.serialize(t).to_buffer())
> print(type(t_new), t_new)  # <class 'int'> 0
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to