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

Allowing compute to persist tables with Spark SQL backend #1514

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

zacdav-db
Copy link
Contributor

Fix for #1502

Previously this example would fail, it now succeeds:

# I have results I don't want to collect but I do want to persist
results <- tbl(con, I("samples.nyctaxi.trips")) %>%
  group_by(pickup_zip) %>%
  summarise(avg_trip_dist = mean(trip_distance)) %>%
  compute(
    name = I("zacdav.default.avg_trip_dist"),
    temporary = FALSE,
    overwrite = TRUE
  )

@hadley hadley merged commit 1778bbc into tidyverse:main Jun 11, 2024
13 checks passed
zacdav-db pushed a commit to zacdav-db/dbplyr that referenced this pull request Jun 11, 2024
hadley pushed a commit that referenced this pull request Jun 11, 2024
Part of #1514

Co-authored-by: Zac Davies <[email protected]>
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.

2 participants