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(polars): ensure t.select(col=scalar) results in len(t) rows #8665

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

jcrist
Copy link
Member

@jcrist jcrist commented Mar 15, 2024

Previously broadcasting a scalar as a column and then selecting only that column would result in only one row (rather than len(t) rows). This fixes that bug and adds a test.

Based on #8664, since this fixes a test in that PR too.

@cpcloud cpcloud added this to the 9.0 milestone Mar 17, 2024
@cpcloud cpcloud added the polars The polars backend label Mar 17, 2024
Copy link
Member

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

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

Thanks!

@cpcloud cpcloud enabled auto-merge (squash) March 17, 2024 11:49
@cpcloud cpcloud added the bug Incorrect behavior inside of ibis label Mar 17, 2024
@cpcloud cpcloud merged commit 6c00579 into ibis-project:main Mar 17, 2024
79 of 80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior inside of ibis polars The polars backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants