You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yuepeng Pan (Jira)" <ji...@apache.org> on 2026/05/05 13:27:00 UTC

[jira] [Updated] (FLINK-20457) Fix the handling of timestamp in DataStream.from_collection

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

Yuepeng Pan updated FLINK-20457:
--------------------------------
    Fix Version/s: 2.4.0
                       (was: 2.3.0)

> Fix the handling of timestamp in DataStream.from_collection
> -----------------------------------------------------------
>
>                 Key: FLINK-20457
>                 URL: https://issues.apache.org/jira/browse/FLINK-20457
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>    Affects Versions: 2.1.0
>            Reporter: Dian Fu
>            Priority: Minor
>              Labels: auto-deprioritized-major, auto-unassigned
>             Fix For: 2.4.0
>
>
> Currently, DataStream.from_collection firstly converts date/time/dateTime objects to int at Python side and then construct the corresponding Date/Time/Timestamp object at Java side. It will lose the timezone information. Pickle could handle date/time/datetime properly and the conversion could be avoided.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)