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: typetracer lengths for optiontypes in 'ak.where' broadcastings #3322

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

pfackeldey
Copy link
Collaborator

Fixes #3321

@pfackeldey pfackeldey requested a review from jpivarski December 2, 2024 18:44
Copy link
Member

@jpivarski jpivarski left a comment

Choose a reason for hiding this comment

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

This is the right thing to do. The lenlength conversion was applied across the whole codebase, but a few instances might have been missed.

In fact, since this is in broadcast_any_option_akwhere, it was missed when adding new code. (This function was added earlier this year.)

Nice tests!

Go ahead and merge!

@pfackeldey pfackeldey merged commit 07ce379 into main Dec 2, 2024
41 checks passed
@pfackeldey pfackeldey deleted the pfackeldey/fix_akwhere_typetracer_lengths branch December 2, 2024 19:02
@agoose77
Copy link
Collaborator

agoose77 commented Dec 2, 2024

I think this is missing a call to shape_item_as_index, which might need some better docs! I'll take a look tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ak.where unexpectedly fails on typetracers of option types
3 participants