Skip to content

Conversation

chelsea-lin
Copy link
Contributor

This change optimizes the dbjson serialization by removing whitespace when calling json.dumps. The compact format ensures compatibility with bpd.read_gbq whose pyarrow string values contains the compact format too.

Fixes internal issue 354782342 🦕

@chelsea-lin chelsea-lin requested a review from tswast November 7, 2024 23:33
@chelsea-lin chelsea-lin requested review from a team as code owners November 7, 2024 23:33
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-db-dtypes-pandas API. labels Nov 7, 2024
@tswast tswast merged commit c5e9a10 into main Nov 8, 2024
27 checks passed
@tswast tswast deleted the main_chelsealin_dbjsondump branch November 8, 2024 13:47
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-db-dtypes-pandas API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants