omerharoonedu opened a new issue #21989: URL: https://github.com/apache/airflow/issues/21989
### Apache Airflow Provider(s) google ### Versions of Apache Airflow Providers _No response_ ### Apache Airflow version 2.2.3 ### Operating System mac ### Deployment Docker-Compose ### Deployment details _No response_ ### What happened Passing anything other than a GCS bucket path to the `jar` argument results in the job never being started on DataFlow. ### What you expected to happen Passing in a local path to a jar should result in a job starting on Data Flow. ### How to reproduce Create a task using the DataFlowCreateJavaJobOperator and pass in a non GCS path to the `jar` argument. ### Anything else It's probably an indentation error in this [file](https://github.com/apache/airflow/blob/17d3e78e1b4011267e81846b5d496769934a5bcc/airflow/providers/google/cloud/operators/dataflow.py#L413) starting on line 413. The code for starting the job is over indented and causes any non GCS path for the `jar` to be effectively ignored. ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
