Skip to content

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

Closed

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.

Activity

  1. added
    api: bigqueryIssues related to the BigQuery API.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Jun 27, 2019
  2. self-assigned this
    on Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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