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

Ash Berlin-Taylor closed AIRFLOW-874.
-------------------------------------
    Resolution: Not A Problem

If you copy and pasted the command the issue is {{–}} vs {{-}} in your 2017 
date - you have an en-dash, not a hyphen there

> Backfill dates spanning multiple years fail to parse
> ----------------------------------------------------
>
>                 Key: AIRFLOW-874
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-874
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 1.7.1.3
>         Environment: Ubuntu
>            Reporter: Russell Jurney
>            Priority: Critical
>              Labels: easyfix
>
> In following output, note that 2017-01-01 is a valid iso date, but airflow 
> says otherwise. My guess is that this has to do with the range spanning 
> years? I could be wrong.
> -------------
> airflow backfill internet_honey_spark_workflow -t spark_postgres_to_pyspark 
> -s 2016-10-01 -e 2017–01-02
> [2017-02-14 04:36:46,927] {__init__.py:36} INFO - Using executor 
> SequentialExecutor
> usage: airflow backfill [-h] [-t TASK_REGEX] [-s START_DATE] [-e END_DATE]
>                         [-m] [-l] [-x] [-a] [-i] [-I] [-sd SUBDIR]
>                         [--pool POOL] [-dr]
>                         dag_id
> airflow backfill: error: argument -e/--end_date: invalid parse value: 
> '2017–01-02'



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

Reply via email to