potiuk commented on a change in pull request #16216:
URL: https://github.com/apache/airflow/pull/16216#discussion_r650448916



##########
File path: airflow/providers/amazon/aws/operators/glue.py
##########
@@ -101,7 +101,11 @@ def execute(self, context):
         if self.script_location and not 
self.script_location.startswith(self.s3_protocol):
             s3_hook = S3Hook(aws_conn_id=self.aws_conn_id)
             script_name = os.path.basename(self.script_location)
-            s3_hook.load_file(self.script_location, self.s3_bucket, 
self.s3_artifacts_prefix + script_name)
+            s3_hook.load_file(
+                filename=self.script_location,
+                key=self.s3_artifacts_prefix + script_name,
+                bucket_name=self.s3_bucket,

Review comment:
       I think I will merge it as is as we are releasing providers 
tomorrow/Monday. This might be a separate feature.




-- 
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]


Reply via email to