ephraimbuddy commented on a change in pull request #7791: Add ability to
specify a maximum modified time for objects in GCSToGCSOperator
URL: https://github.com/apache/airflow/pull/7791#discussion_r395973112
##########
File path: airflow/providers/google/cloud/operators/gcs_to_gcs.py
##########
@@ -87,6 +87,10 @@ class GCSToGCSOperator(BaseOperator):
only if they were modified after last_modified_time.
If tzinfo has not been set, UTC will be assumed.
:type last_modified_time: datetime.datetime
+ :param maximum_modified_time: When specified, the objects will be copied
or moved,
Review comment:
I think that is what the maximum_modified_time is doing. It checks if
objects are older than the given time and then copy them. While
last_modified_time is checking if objects are new compared to the
last_modified_time. Actually, that is what I think they are doing, I might be
wrong though.
When both last_modified_time and maximum_modified_time are supplied, then
they act like a time interval to search for the object. I will be much happy if
you can throw more light on this. Thanks for your 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]
With regards,
Apache Git Services