Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Add documentation for writing polars dataframes to bigquery #391

Merged
merged 3 commits into from Sep 13, 2023
Merged

Add documentation for writing polars dataframes to bigquery #391

merged 3 commits into from Sep 13, 2023

Conversation

ghost
Copy link

@ghost ghost commented Aug 30, 2023

There is currently no documentation for writing polars dataframes to bigquery. This pull request suggests an approach that writes the dataframe as a parquet file to a bytes stream (without saving to disk), and then uses the bigquery API to save the parquet file as a bigquery table.

@stinodego
Copy link
Member

stinodego commented Sep 13, 2023

I don't have access to BigQuery right now, so I can't verify this. But it looks fine, so I'll add it for now. Thanks for the addition!

We'll add more comprehensive testing for code examples soon.

@stinodego stinodego merged commit 8193e78 into pola-rs:master Sep 13, 2023
3 checks passed
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.

1 participant