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

Write Parquet file into a memory buffer #612

Merged
merged 3 commits into from
Jun 10, 2024
Merged

Conversation

apalacio9502
Copy link
Contributor

Hi @hadley,

This pull request aims to eliminate disk writing when PARQUET is selected as the transmission format by the user.

Thanks @gaborcsardi for the new nanoparquet feature

Regards,

R/bq-perform.R Outdated
@@ -202,15 +202,7 @@ export_json <- function(values) {
# https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-parquet?hl=es-419
export_parquet <- function(values) {
Copy link
Member

Choose a reason for hiding this comment

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

You could probably drop this wrapper function now 😄

@gaborcsardi
Copy link

This needs dev nanoparquet currently, so until there is a new nanoparquet release on CRAN (soon!), you'll need to add

Remotes: 
    r-lib/nanoparquet

to DESCRIPTION to fix the CI errors.

@apalacio9502
Copy link
Contributor Author

Hi @hadley and @gaborcsardi,

Thank you for your review, I have taken into account your comments, and I hope I haven't missed any.

Regards,

@hadley hadley merged commit ef6dc0e into r-dbi:main Jun 10, 2024
12 checks passed
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.

None yet

3 participants