airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1927) TaskInstance should also convert naive dates
Date Tue, 06 Feb 2018 16:27:00 GMT

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

ASF subversion and git services commented on AIRFLOW-1927:
----------------------------------------------------------

Commit 772dbae298680feb9d521e7cd5526f4059d7cb69 in incubator-airflow's branch refs/heads/master
from [~bolke]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=772dbae ]

[AIRFLOW-1927] Convert naive datetimes for TaskInstances

TaskInstances are sometimes instantiated outside
core
Airflow with naive datetimes. In case this happens
we
now default to using the time zone of the DAG if
that
is available or the default system time zone.

Closes #2946 from bolkedebruin/AIRFLOW-1927


> TaskInstance should also convert naive dates
> --------------------------------------------
>
>                 Key: AIRFLOW-1927
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1927
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Bolke de Bruin
>            Assignee: Sumit Maheshwari
>            Priority: Critical
>             Fix For: 1.10.0
>
>
> Task Instances cannot be saved without time zone information anymore. Although airflow
itself is fine, some people like to instantiate TaskInstances themselves. Conversion should
therefore be as with Dags.



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

Mime
View raw message