Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct specification of NUMERIC columns in bigquery.SchemaField #2053

Open
shering243 opened this issue Nov 7, 2024 · 2 comments
Open

Direct specification of NUMERIC columns in bigquery.SchemaField #2053

shering243 opened this issue Nov 7, 2024 · 2 comments
Assignees
Labels
api: bigquery Issues related to the googleapis/python-bigquery API.

Comments

@shering243
Copy link

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is your feature request related to a problem? Please describe.

Direct specification of NUMERIC columns in bigquery.SchemaField. This is available for INT, FLOAT, STRING etc but only NUMERIC is missing. This leads to the need of client side conversion of datatype in case the column data type in bigquery is NUMERIC. An optimum solution for the customer would be that the bigquery client library supports NUMERIC too just like the other datatypes

Describe the solution you'd like

Interested in the default option where we can specific NUMERIC datatype in the schemaField in the client library itself just like it can be done with other data types.

Describe alternatives you've considered

Manual conversion of datatype before upload is performed to avoid datatype mismatch error.

Additional context

NA

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Nov 7, 2024
@chalmerlowe
Copy link
Collaborator

Thanks for adding this feature request. Much appreciated.

@chalmerlowe
Copy link
Collaborator

For more details: see this internal Google bug: b/372186573 for history and more details on this Issue.

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-bigquery API.
Projects
None yet
Development

No branches or pull requests

3 participants