[ 
https://issues.apache.org/jira/browse/AIRFLOW-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17252407#comment-17252407
 ] 

ASF GitHub Bot commented on AIRFLOW-3723:
-----------------------------------------

ad-m commented on a change in pull request #13187:
URL: https://github.com/apache/airflow/pull/13187#discussion_r546363526



##########
File path: airflow/providers/amazon/aws/hooks/s3.py
##########
@@ -515,6 +515,7 @@ def load_string(
         encrypt: bool = False,
         encoding: Optional[str] = None,
         acl_policy: Optional[str] = None,
+        gzip: bool = False,

Review comment:
       I am not questioning the choice of the gzip algorithm for now. It is now 
standard and popular. I wonder if adding the "gzip" parameter instead of - for 
example - "compression" (enum with value "gzip") will not make this operator 
have many parameters in the future when more algorithm might be added. See for 
example at 
https://github.com/apache/airflow/blob/349b0811c3022605426ba57d30936240a7c2848a/airflow/providers/google/cloud/transfers/bigquery_to_gcs.py#L47-L48
 regarding future-proof `compression` parameter.
   
   I would like to point out that your experience with Airflow is definitely 
much greater than mine. I mainly observe and comment on the project from time 
to time.




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


> Add Gzip capability to existing mongo_to_S3 operator
> ----------------------------------------------------
>
>                 Key: AIRFLOW-3723
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3723
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: contrib
>    Affects Versions: 1.10.1
>            Reporter: deepak saroha
>            Assignee: deepak saroha
>            Priority: Minor
>             Fix For: 2.0.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> A feature to add gzip capabilities while writing to S3 from Mongo is crucial 
> as S3 has space base billing system. Gzipping it will greatly benefit.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to