Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: Raise error for large inline DataFrames in read_pandas #1525

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

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

chelsea-lin
Copy link
Contributor

Fixes an issue where read_pandas(..., write_engine="bigquery_inline") would incorrectly return None for DataFrames exceeding MAX_INLINE_DF_BYTES. This PR ensures a ValueError is raised as expected. Additionally, it refactors the internal _read_pandas_inline method for improved readability and test coverage.

@chelsea-lin chelsea-lin requested review from a team as code owners March 21, 2025 21:46
@chelsea-lin chelsea-lin requested a review from sycai March 21, 2025 21:46
@chelsea-lin chelsea-lin force-pushed the main_chelsealin_readpandasinline branch from 8f673f3 to d03d747 Compare March 21, 2025 21:52
@chelsea-lin chelsea-lin changed the title fix: read_pandas inline returns None when exceeds limit fix: Raise error for large inline DataFrames in read_pandas Mar 21, 2025
@chelsea-lin chelsea-lin force-pushed the main_chelsealin_readpandasinline branch from d03d747 to ebe965a Compare March 21, 2025 22:02
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Mar 21, 2025
@chelsea-lin chelsea-lin merged commit 578081e into main Mar 24, 2025
23 of 24 checks passed
@chelsea-lin chelsea-lin deleted the main_chelsealin_readpandasinline branch March 24, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants