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

pandas-gbq 0.16 release broke dask-bigquery CI #24

Closed
1 of 2 tasks
ncclementi opened this issue Nov 19, 2021 · 0 comments · Fixed by #31
Closed
1 of 2 tasks

pandas-gbq 0.16 release broke dask-bigquery CI #24

ncclementi opened this issue Nov 19, 2021 · 0 comments · Fixed by #31
Assignees
Labels
bug Something isn't working

Comments

@ncclementi
Copy link
Contributor

ncclementi commented Nov 19, 2021

It looks like the most recent update on pandas-gbq might have broken our tests. When writing to bigquery this

pd.DataFrame.to_gbq(
        df,
        destination_table=f"{dataset_id}.{table_id}",
        project_id=project_id,
        chunksize=5,
        if_exists="append",
    )

with pandas-gbq=0.15 and reading it back with dask_bigquery.read_gbqreturns 2 dask partitions, while if the writing is done withpandas-gbq=0.16when reading back withdask_bigquery.read_gbq` returns only 1 dask partitions.

From the discussion on #11 we know that

pandas-gbq 0.16 changed the default intermediate data serialization format to parquet instead of CSV.
Likely this means the backend loader required fewer workers and wrote it to fewer files behind the scenes

@ncclementi ncclementi self-assigned this Nov 19, 2021
@fjetter fjetter added the bug Something isn't working label Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants