Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

fix: update error logging when converting to pyarrow column fails - #1836

Merged
chalmerlowe merged 31 commits into
mainfrom
name-series-in-error-log
Mar 19, 2024
Merged

fix: update error logging when converting to pyarrow column fails#1836
chalmerlowe merged 31 commits into
mainfrom
name-series-in-error-log

Conversation

@chalmerlowe

@chalmerlowe chalmerlowe commented Feb 29, 2024

Copy link
Copy Markdown
Collaborator

When conversion of a pyarrow column fails, the user is not provided adequate information about which column fails to convert. This PR provides additional context to identify the column (if the Series has a .name parameter).

Fixes #1621 🦕
Fixes #1822

This merges and replaces the follow PR(s):
#1824
#1622

@chalmerlowe
chalmerlowe requested review from a team and obada-ab February 29, 2024 16:45
@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-bigquery API. labels Feb 29, 2024
@chalmerlowe
chalmerlowe requested a review from a team as a code owner February 29, 2024 19:29
@chalmerlowe
chalmerlowe requested a review from engelke February 29, 2024 19:29
@chalmerlowe
chalmerlowe marked this pull request as draft February 29, 2024 19:30
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Mar 15, 2024
@chalmerlowe
chalmerlowe marked this pull request as ready for review March 18, 2024 14:16
Comment thread google/cloud/bigquery/_pandas_helpers.py Outdated
Comment thread google/cloud/bigquery/_pyarrow_helpers.py
Comment thread google/cloud/bigquery/_pandas_helpers.py
@Linchin

Linchin commented Mar 18, 2024

Copy link
Copy Markdown
Contributor

Thank you so much @chalmerlowe for fixing these issues! Mostly looks good, I just had some questions on the details.

@chalmerlowe chalmerlowe added the automerge Merge the pull request once unit tests and other checks pass. label Mar 18, 2024
@gcf-merge-on-green

Copy link
Copy Markdown

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Mar 19, 2024
Comment thread tests/unit/test__pandas_helpers.py Outdated
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. size: m Pull request size is medium.

2 participants