Skip to content
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

Fix xcom arg.py .zip bug #26636

Merged
merged 2 commits into from Sep 26, 2022
Merged

Conversation

rjmcginness
Copy link
Contributor

@rjmcginness rjmcginness commented Sep 23, 2022

Modified xcom_arg.py to test against ArgNotSet type, rather than an instance (NOTSET).
Fixes the filling of the _ZipResult with an erroneous fill value, when zip is called with the
default fillvalue=NOTSET.

closes: #26499
related: #26499

@rjmcginness rjmcginness force-pushed the fix-xcom_arg.py-.zip-bug branch 2 times, most recently from b66c62e to ec272af Compare September 24, 2022 12:22
Copy link
Member

@uranusjr uranusjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this, although I still want to know exactly which check exactly causes the issue. Would you be interested in help test this? (Basically change the checks one by one and see which ones make a difference.)

@uranusjr uranusjr added this to the Airflow 2.4.1 milestone Sep 26, 2022
@rjmcginness
Copy link
Contributor Author

Sure. I would be happy to do that. End of the day here and work tomorrow, so it may take a little while. However, I will work on it.

@uranusjr
Copy link
Member

Thanks a lot! Since the apparent issue would be fixed with this PR, the specific root cause can be looked into without breaking things, so there’s no hurry, feel free to do it when you have time.

@rjmcginness
Copy link
Contributor Author

Sounds good. Glad to help. Airflow is a great project. i’m hoping to learn and do more here.

@potiuk
Copy link
Member

potiuk commented Sep 26, 2022

Sounds good. Glad to help. Airflow is a great project. i’m hoping to learn and do more here.

👀

@potiuk potiuk merged commit f219bfb into apache:main Sep 26, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented Sep 26, 2022

Awesome work, congrats on your first merged pull request!

@jedcunningham jedcunningham added the type:bug-fix Changelog: Bug Fixes label Sep 26, 2022
jedcunningham pushed a commit that referenced this pull request Sep 26, 2022
(cherry picked from commit f219bfb)
jedcunningham pushed a commit that referenced this pull request Sep 27, 2022
(cherry picked from commit f219bfb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic task mapping zip() iterates unexpected number of times
4 participants