[
https://issues.apache.org/jira/browse/AIRFLOW-419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16075292#comment-16075292
]
Chien Le commented on AIRFLOW-419:
----------------------------------
We're hitting this problem even with a mysql 5.6 backend. The column is defined
as datetime(6) so the strptime format is incorrect.
> Setting task instance status through UI causes exception
> --------------------------------------------------------
>
> Key: AIRFLOW-419
> URL: https://issues.apache.org/jira/browse/AIRFLOW-419
> Project: Apache Airflow
> Issue Type: Bug
> Components: ui
> Affects Versions: Airflow 1.7.1
> Environment: Using the Celery executor and PostgreSQL as the backing
> DB.
> Reporter: Mjumbe Poe
> Assignee: Saar Picker
>
> When using postgres, datetimes are returned down to the microsecond, and
> breaks the datetime parsing in
> {{TaskInstanceModelView.set_task_instance_state}} at
> https://github.com/mjumbewu/incubator-airflow/blob/55985ef/airflow/www/views.py#L2252.
> This blocks users from updating the task instance status through the UI.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)