Better error message for incorrect to_gbq() table_schema #219
Labels
api: bigquery
Issues related to the googleapis/python-bigquery-pandas API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
I am using pandas with BigQuery tables. Because pandas doesn't support boolean missing values, BigQuery BOOLEAN columns become dataframe object columns. I have to use to_gbq() table_schema to convert force those columns back to BOOLEAN.
My dataframe has 104 columns. table_schema has to include every column (until this issue is fixed).
If something in table_schema is wrong, I get the error:
The error message doesn't say which part of table_schema is wrong. I have to double-check all 104 columns.
The text was updated successfully, but these errors were encountered: