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

duckplyr hangs when reading a bunch of parquet files #213

Closed
hadley opened this issue Jul 25, 2024 · 3 comments
Closed

duckplyr hangs when reading a bunch of parquet files #213

hadley opened this issue Jul 25, 2024 · 3 comments

Comments

@hadley
Copy link
Member

hadley commented Jul 25, 2024

I'm not sure how to get these files to you, but this causes my R session to hang:

paths <- dir("logs", full.names = TRUE)
logs <- duckplyr::duckplyr_df_from_parquet(paths[1:10])
@hadley
Copy link
Member Author

hadley commented Jul 25, 2024

This code takes a while, but doesn't hang:

library(duckdb)
con <- DBI::dbConnect(duckdb::duckdb())
DBI::dbExecute(con, "
  CREATE TABLE logs AS
    SELECT * FROM read_parquet('logs/*.parquet');"
)

So I don't think it's a duckdb issue.

@hadley
Copy link
Member Author

hadley commented Jul 25, 2024

This is probably the positron variables pane materializing the data frames. We'll do some exploration.

@hadley
Copy link
Member Author

hadley commented Sep 25, 2024

Closing since this seems to be a positron issue.

@hadley hadley closed this as completed Sep 25, 2024
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

No branches or pull requests

1 participant