Skip to content

Add a warning in the type mapping if no conversion function is found #1988

@suzmue

Description

@suzmue

Is your feature request related to a problem? Please describe.
Unsupported types are silently handled in order to allow for tables with column types the client library cannot handle yet. Once these types are supported, the returned type for the column is likely to change to reflect the correct handling of the type. However, this may require different code to handle from the user.

See #1587 for an example when support for json values was added.

Describe the solution you'd like
Add a warning to the type mapping when the type does not have a conversion function, since the handling for this type may change:

converter = _CELLDATA_FROM_JSON.get(field.field_type, lambda value, _: value)

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions