-
Notifications
You must be signed in to change notification settings - Fork 15.9k
Add stream method to RemoteIO #54813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add stream method to RemoteIO #54813
Conversation
88b1454 to
a7c7322
Compare
providers/alibaba/src/airflow/providers/alibaba/cloud/log/oss_task_handler.py
Outdated
Show resolved
Hide resolved
|
re-triggering tests |
providers/alibaba/src/airflow/providers/alibaba/cloud/log/oss_task_handler.py
Outdated
Show resolved
Hide resolved
providers/amazon/src/airflow/providers/amazon/aws/log/cloudwatch_task_handler.py
Outdated
Show resolved
Hide resolved
|
I added |
ashb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You seem to have added some test classes that have no test functions, so the fixtures will never be run?
providers/apache/hdfs/tests/unit/apache/hdfs/log/test_hdfs_task_handler.py
Outdated
Show resolved
Hide resolved
providers/alibaba/tests/unit/alibaba/cloud/log/test_oss_task_handler.py
Outdated
Show resolved
Hide resolved
providers/google/tests/unit/google/cloud/log/test_gcs_task_handler.py
Outdated
Show resolved
Hide resolved
8125772 to
fd7d0b5
Compare
fd7d0b5 to
3be54d3
Compare
3be54d3 to
353e66e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR should be really to go.
32b47a1 to
2372ad8
Compare
2372ad8 to
8304975
Compare
2d64952 to
9afa883
Compare
9afa883 to
c56da4d
Compare
c56da4d to
00fcf78
Compare
related: Fix CloudwatchTaskHandler display error #54054
Why
While fixing comments in #54054, I realized that we should support
streammethod inRemoteIOas #54054 (review) point out. Starting with Airflow 3, FileTaskHandler._read_remote_logs will utilizeRemoteIObehind the scenes, rather than relying on<Provider>TaskHandler._read_remote_logs.What
Add
streammethod toRemoteIOProtocol and add corresponding unit tests.