You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/04/11 21:21:38 UTC
[GitHub] [airflow] astahlman commented on issue #1936: [AIRFLOW-419] Setting
task instance status through UI causes exception
astahlman commented on issue #1936: [AIRFLOW-419] Setting task instance status through UI causes exception
URL: https://github.com/apache/airflow/pull/1936#issuecomment-482324038
Do we actually need to truncate the fractional seconds in the database? The dateutil parser seems to be able to handle timestamps with or without the microseconds field:
```
>>> import dateutil.parser
>>> dateutil.parser.parse('2019-04-01 00:00:00.000000') == dateutil.parser.parse('2019-04-01 00:00:00')
True
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services