turbaszek commented on a change in pull request #8240: GCP SparkR Example
URL: https://github.com/apache/airflow/pull/8240#discussion_r408000545
##########
File path: airflow/providers/google/cloud/example_dags/example_dataproc.py
##########
@@ -104,6 +105,12 @@
"pyspark_job": {"main_python_file_uri": PYSPARK_URI},
}
+SPARKR_JOB = {
+ "reference": {"project_id": PROJECT_ID},
+ "placement": {"cluster_name": CLUSTER_NAME},
+ "sparkRJob": {"mainRFileUri": SPARKR_URI},
Review comment:
I run this example and got errors so I made fixes and it works :) Python
libraries prefer snake_case, take a look at other jobs definition in this file.
----------------------------------------------------------------
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]
With regards,
Apache Git Services