romibuzi commented on code in PR #27893:
URL: https://github.com/apache/airflow/pull/27893#discussion_r1039826957
##########
airflow/providers/amazon/aws/hooks/glue.py:
##########
@@ -92,10 +92,38 @@ def __init__(
kwargs["client_type"] = "glue"
super().__init__(*args, **kwargs)
+ def create_glue_job_config(self) -> dict:
+ if self.s3_bucket is None:
+ raise AirflowException("Could not initialize glue job, error:
Specify Parameter `s3_bucket`")
+
+ default_command = {
+ "Name": "glueetl",
Review Comment:
here it is the default command used but the user can specify another one
with the "Command" kwarg:
https://github.com/apache/airflow/blob/23d33fe4f424b0302a1637a6005185ea4139c04e/airflow/providers/amazon/aws/hooks/glue.py#L103
--
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]