google.cloud.bigquery.enums.StandardSqlDataTypes#

Attributes

BOOL

BYTES

DATE

DATETIME

FLOAT64

GEOGRAPHY

INT64

NUMERIC

STRING

TIME

TIMESTAMP


class google.cloud.bigquery.enums.StandardSqlDataTypes#

Bases: enum.Enum

An Enum of scalar SQL types.

INT64#

Encoded as a string in decimal format.

Type

int

BOOL#

Encoded as a boolean “false” or “true”.

Type

int

FLOAT64#

Encoded as a number, or string “NaN”, “Infinity” or “-Infinity”.

Type

int

STRING#

Encoded as a string value.

Type

int

BYTES#

Encoded as a base64 string per RFC 4648, section 4.

Type

int

TIMESTAMP#

Encoded as an RFC 3339 timestamp with mandatory “Z” time zone string:

Type

int

1985-04-12T23

20:50.52Z

DATE#

Encoded as RFC 3339 full-date format string: 1985-04-12

Type

int

TIME#

Encoded as RFC 3339 partial-time format string: 23:20:50.52

Type

int

DATETIME#

Encoded as RFC 3339 full-date “T” partial-time: 1985-04-12T23:20:50.52

Type

int

GEOGRAPHY#

Encoded as WKT

Type

int

NUMERIC#

Encoded as a decimal string.

Type

int