-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Add support for BeamGoPipelineOperator #20386
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 support for BeamGoPipelineOperator #20386
Conversation
d1453cb to
2383bc8
Compare
|
Just amended to fix static checks |
|
The dataflow tests seems to be failing, guessing its related to changing apache-beam version.
|
2383bc8 to
79a1171
Compare
|
@subkanthi Thank you for pointing that. There were 2 definitions of the same I just fixed that, and also rebased my branch. |
79a1171 to
cf3376e
Compare
|
@aaltay @ibzib @kennknowles @TheNeuralBit Can I ask for a review? |
aaltay
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.
LGTM. Added a few comments.
Have you tried executing {java, python, go} * {direct, dataflow} jobs with these changes>
|
I will be OOO soon, and in my absence @jrmccluskey could continue the review. Thank you for adding this operator! |
jrmccluskey
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.
LGTM. Thanks for adding support for Beam Go!
35d3d5b to
b94cd72
Compare
|
I just rebased on main and updated the PR following your reviews. It is not yet ready to merge, I am having an issue running the go pipeline on dataflow, looks like he is not using the correct image even with the |
If you cannot figure out, @jrmccluskey could help. |
b94cd72 to
a41481b
Compare
d8281b4 to
afdd6b6
Compare
|
@mik-laj The PR is ready if you want to take a look :) |
|
@mik-laj - any more comments on that ? @pierrejeambrun - can you please rebase to latest main to check if there are no static checks/doc changes (the change is 179 commits behind main). There is the new feature from GitHub that makes it super - easy. |
e2d90c6 to
937259c
Compare
|
@potiuk Yes of course, I just rebased the branch. Nice I didn't know we could do that directly from the GitHub interface 👍 |
It's a new feature (added last week) which we turned on immediately after it appeared (that's why I am also spreading the news about it in comments :) ). Unfortunately - static checks you will have to fix by pushing new code I am afraid 😃 |
|
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
@potiuk that new I just pushed a fix for that |
fcc08ea to
77a180a
Compare
Fix dataflow test Fix following aaltay review Update following jrmccluskey code review Update PR following mik-laj review Fix CI Fix Java pipeline local runner
77a180a to
cb80ed3
Compare
|
Hello @potiuk, I hope you are doing well 😄 The CI has failed on |
|
IT's a flaky test. No worries |
|
I am doing some more changes in the images, so I might add Go to the image. Can you please add an issue about it @pierrejeambrun and CC: me ? |

closes: #20283
In this PR:
operators/beam.pywith an abstractBeamBasePipelineOperatorclass to factorize initialization and common code, also fixed mypy hook onBeamDataflowMixinBeamRunGoPipelineOperatorandBeamHook.start_go_pipeline(+tests)utils/go_module.pyto handle initialisation and dependency installation for a module. (+ tests)process_util+ tests to be able to handle an extra optional parametercwd. (This way we can move to the module directory to build it)