airflow-commits mailing list archives

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


ASF subversion and git services commented on AIRFLOW-1927:

Commit 772dbae298680feb9d521e7cd5526f4059d7cb69 in incubator-airflow's branch refs/heads/master
from [~bolke]
[;h=772dbae ]

[AIRFLOW-1927] Convert naive datetimes for TaskInstances

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

Closes #2946 from bolkedebruin/AIRFLOW-1927

> TaskInstance should also convert naive dates
> --------------------------------------------
>                 Key: AIRFLOW-1927
>                 URL:
>             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

View raw message