I've been trying to pass command line arguments to use in the python (pyspark) scripts that is launched by a DataprocCreateBatchOperator job. I cannot seem to get it to work. I've tried several options but it always comes back as "error: unrecognized arguments: --key value". See below. Also "--key value" doesn't work. Does anyone know the correct way to insert args?
"pyspark_batch": {
"main_python_file_uri": PYTHON_FILE_LOCATION,
"jar_file_uris": [SPARK_BIGQUERY_JAR_FILE],
"args": [
"--key",
"value",
],
},