-
Notifications
You must be signed in to change notification settings - Fork 16.3k
serialize http transports contained in composite transport #47444
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
serialize http transports contained in composite transport #47444
Conversation
813ac93 to
fca1c14
Compare
1f82e52 to
fc875b8
Compare
kacpermuda
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.
Probably would be also good to add the support for HTTP transport within composite transport here.
providers/openlineage/src/airflow/providers/openlineage/plugins/macros.py
Outdated
Show resolved
Hide resolved
providers/common/compat/src/airflow/providers/common/compat/openlineage/utils/spark.py
Outdated
Show resolved
Hide resolved
d4dc7d1 to
3d420f4
Compare
kacpermuda
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.
Left one more comment about improving logging, but lgtm overall 🚀
a1ea9a0 to
730f77b
Compare
ae12725 to
014d8de
Compare
Signed-off-by: Maciej Obuchowski <maciej.obuchowski@datadoghq.com>
014d8de to
1c181a0
Compare
Currently, we can pass OpenLineage transport information to Spark jobs using HttpTransport.
However, very common feature is using CompositeTransport to direct the data to multiple destinations - even if one of them is purely for debug.
This prevented the valid HttpTransport to be serialized. After this PR, we will still pass only HttpTransport configuration, but also when it's wrapped in CompositeTransport.