Skip to content

BigQuery: Constants for all scalar standard SQL data types #8495

@tswast

Description

@tswast

Related to #7632 (legacy SQL), it would be useful to have constants for all scalar data types for the new bigquery_v2.types.StandardSqlDataType format. Currently, one has to construct an object like

bigquery_v2.types.StandardSqlDataType(
    type_kind=bigquery_v2.enums.StandardSqlDataType.TypeKind.INT64
)

It would be convenient if instead one could just say bigquery.StandardSqlDataTypes.INT64 and similar for all scalar data types.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.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