You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this functionality still desired? If so, using Python's standard gzip module is probably a good option, as it does not require additional dependencies. To upload the logs we could simply add a boolean param like gzip_compress_logs to the class.
Do you think the _read_remote_logs method should be updated accordingly, to be able to read and decompress, gzip compressed logs?
Activity
dominikhei commentedon Dec 9, 2024
@eladkal I just checked the
GCSTaskHandlerclass under: providers/src/airflow/providers/google/cloud/log/gcs_task_handler.py and there seems to be no implementation of this.Is this functionality still desired? If so, using Python's standard gzip module is probably a good option, as it does not require additional dependencies. To upload the logs we could simply add a boolean param like
gzip_compress_logsto the class.Do you think the
_read_remote_logsmethod should be updated accordingly, to be able to read and decompress, gzip compressed logs?