potiuk commented on a change in pull request #6695: [AIRFLOW-6133] Make Hive 
transfer operators pylint compatible
URL: https://github.com/apache/airflow/pull/6695#discussion_r352289268
 
 

 ##########
 File path: airflow/operators/s3_to_hive_operator.py
 ##########
 @@ -148,20 +152,20 @@ def __init__(
 
     def execute(self, context):
         # Downloading file from S3
-        self.s3 = S3Hook(aws_conn_id=self.aws_conn_id, verify=self.verify)
-        self.hive = HiveCliHook(hive_cli_conn_id=self.hive_cli_conn_id)
+        hook = S3Hook(aws_conn_id=self.aws_conn_id, verify=self.verify)
 
 Review comment:
   Maybe name it hook_s3 for example? 

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

Reply via email to