-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.

Description
gbq.to_gbq
function currently does the schema conversion based on a given DataFrame's dtypes
attribute, based on the dtype -> BQ data type map. This reflection is then passed as a fields value in BQ API call.
I'd like to propose that it should be possible to include a schema as an argument in the to_gbq
call. This would save the users from painful, unnecessary dtype conversion as BQ API does the same thing again on create operation, and is not provided a schema on append loadAll operation.
@jreback what do you think? I have started with the implementation in my fork's feature branch.
Metadata
Metadata
Assignees
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.