ljb7977 commented on a change in pull request #9022:
URL: https://github.com/apache/airflow/pull/9022#discussion_r466430388
##########
File path: airflow/providers/amazon/aws/hooks/glue.py
##########
@@ -110,24 +110,36 @@ def initialize_job(self, script_arguments=None):
self.log.error("Failed to run aws glue job, error: %s",
general_error)
raise
- def job_completion(self, job_name=None, run_id=None):
+ def get_job_state(self, job_name=None, run_id=None):
"""
:param job_name: unique job name per AWS account
:type job_name: str
:param run_id: The job-run ID of the predecessor job run
:type run_id: str
:return: Status of the Job if succeeded or stopped
Review comment:
Right. It can return any state of actual Glue job can have so I'm
updating the description.
----------------------------------------------------------------
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]