You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Raised ArrowTypeError should indicates which column is causing the error #1822
api: bigqueryIssues related to the googleapis/python-bigquery API.priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
Debugging typing errors when working with existing tables with a large number of columns is extremely frustrating, to say the least: the pyarrow error never indicates which column is causing the issue.
It would be an absolute life saver if more debugging information were raised with the exception.
E.g.:
pyarrow.lib.ArrowTypeError: object of type <class 'str'> cannot be converted to int
Reacted by James Blackwell, Leonardo Aoun and Aleksandr Krymskiy
Thank you @aaaaahaaaaa for raising the issue. This error message seems to be raised directly by pyarrow, and we might be able to wrap some more useful information outside of it. Could you provide a minimal code snippet that reproduces the issue, so I can locate the exact place the exception is raised?
At this time, I am pushing to get PR #1836 finished so we can close this out.
It appears that we have about three PRs generated by three different folks that are related and focused on similar problems. Aiming to have #1836 be the main focal point and will close out the other two PRs. Unique characteristics of each, where reasonable, will be incorporated into #1836.
api: bigqueryIssues related to the googleapis/python-bigquery API.priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
Activity
Linchin commentedon Feb 20, 2024
Thank you @aaaaahaaaaa for raising the issue. This error message seems to be raised directly by pyarrow, and we might be able to wrap some more useful information outside of it. Could you provide a minimal code snippet that reproduces the issue, so I can locate the exact place the exception is raised?
aaaaahaaaaa commentedon Feb 21, 2024
Here is a minimal example:
Error (doesn't show any debugging information referring to the field
what):chalmerlowe commentedon Mar 11, 2024
At this time, I am pushing to get PR #1836 finished so we can close this out.
It appears that we have about three PRs generated by three different folks that are related and focused on similar problems. Aiming to have #1836 be the main focal point and will close out the other two PRs. Unique characteristics of each, where reasonable, will be incorporated into #1836.