Skip to content

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