nathadfield opened a new issue #11280:
URL: https://github.com/apache/airflow/issues/11280


   **Apache Airflow version**: 1.10.*
   **BackPort Packages version**: 2020.10.5rc1
   
   **What happened**:
   
   `BigQueryInsertJobOperator` tries to start a BigQuery job by specifying a 
job_id which is a combination of `dag_id`, `task_id`, `execution_date` and an 
additional `uniqueness_suffix`.
   
   
https://github.com/apache/airflow/blob/master/airflow/providers/google/cloud/operators/bigquery.py#L2072
   
   However, because BigQuery only accepts alphanumeric (in additon to dashes 
and underscore) characters then, if a DagID contains a version number whcih 
includes a `.` character then this will cause the task to fail.
   
   https://cloud.google.com/bigquery/docs/running-jobs#generate-jobid
   
   **How to reproduce it**:
   Create a DAG with the name `my-dag-v1.0`.


----------------------------------------------------------------
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:
[email protected]


Reply via email to