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

feat: New tbl_nrow() to support lazy data frames #679

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented Nov 22, 2024

Necessary for duckplyr because dim(x) still dispatches to dim.data.frame() for subclasses of "data.frame" .

Includes other refactorings.

@krlmlr krlmlr changed the title f duckplyr prep Style Nov 22, 2024
@krlmlr krlmlr enabled auto-merge November 22, 2024 01:16
@krlmlr krlmlr changed the title Style feat: New tbl_nrow() to support lazy data frames Nov 22, 2024
@krlmlr krlmlr disabled auto-merge November 22, 2024 01:20
@krlmlr krlmlr enabled auto-merge November 22, 2024 01:21
@krlmlr krlmlr force-pushed the f-duckplyr-prep branch 2 times, most recently from 9122f66 to ba184c3 Compare November 22, 2024 07:21
@hadley
Copy link
Member

hadley commented Nov 22, 2024

Would you mind pulling the style changes into a separate PR? That would make it easier to see what you're proposing here.

@krlmlr
Copy link
Member Author

krlmlr commented Nov 22, 2024

The important commit is the last one, ba184c3 . You could take a look at that, I'll also split this PR.

Copy link
Member

@hadley hadley left a comment

Choose a reason for hiding this comment

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

Oh ok that's super simple. Looks fine to me.

@krlmlr krlmlr merged commit 3a0da9a into main Nov 22, 2024
20 checks passed
@krlmlr krlmlr deleted the f-duckplyr-prep branch November 22, 2024 18:05
Copy link
Member

@DavisVaughan DavisVaughan left a comment

Choose a reason for hiding this comment

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

Nice! ✅

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.

3 participants