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



##########
File path: airflow/providers/google/suite/hooks/drive.py
##########
@@ -180,12 +180,25 @@ def get_file_id(self, folder_id: str, file_name: str, 
drive_id: Optional[str] =
             file_metadata = {"id": files['files'][0]['id'], "mime_type": 
files['files'][0]['mimeType']}
         return file_metadata
 
-    def upload_file(self, local_location: str, remote_location: str) -> str:
+    def upload_file(
+        self,
+        local_location: str,
+        remote_location: str,
+        chunk_size: int = 104857600,

Review comment:
       
   > If the chunk size shouldn't be larger than 5MB, why would they put 100MB 
as default?
   
   It's only Google App Engine, not Google Drive.




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


Reply via email to