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 model fit for spark tbls #1047

Merged
merged 3 commits into from
Jan 17, 2024
Merged

fix model fit for spark tbls #1047

merged 3 commits into from
Jan 17, 2024

Conversation

simonpcouch
Copy link
Contributor

Closes #1045. :)

Merge branch 'main' into spark-1045

# Conflicts:
#	NEWS.md
@@ -340,3 +344,7 @@ min_rows <- function(num_rows, source, offset = 0) {
as.integer(num_rows)
}

nrow_spark <- function(source) {
rlang::check_installed("sparklyr")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that sparklyr is a parsnip Suggests. :)

@simonpcouch simonpcouch requested a review from hfrick January 16, 2024 14:42
Copy link
Member

@hfrick hfrick left a comment

Choose a reason for hiding this comment

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

Looks good! 🌳

@simonpcouch simonpcouch merged commit 07961a0 into main Jan 17, 2024
5 checks passed
@simonpcouch simonpcouch deleted the spark-1045 branch January 17, 2024 14:32
Copy link

github-actions bot commented Feb 1, 2024

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

min_rows() doesn't work when passed a tbl_spark
2 participants