GoogleApi.BigQuery.V2.Model.StandardSqlDataType (google_api_big_query v0.70.1) View Source

The type of a variable, e.g., a function argument. Examples: INT64: {type_kind="INT64"} ARRAY: {type_kind="ARRAY", array_element_type="STRING"} STRUCT>: {type_kind="STRUCT", struct_type={fields=[ {name="x", type={type_kind="STRING"}}, {name="y", type={type_kind="ARRAY", array_element_type="DATE"}} ]}}


  • arrayElementType (type: GoogleApi.BigQuery.V2.Model.StandardSqlDataType.t, default: nil) - The type of the array's elements, if type_kind = "ARRAY".
  • structType (type: GoogleApi.BigQuery.V2.Model.StandardSqlStructType.t, default: nil) - The fields of this struct, in order, if type_kind = "STRUCT".
  • typeKind (type: String.t, default: nil) - Required. The top level type of this field. Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY").

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.BigQuery.V2.Model.StandardSqlDataType{
  arrayElementType: GoogleApi.BigQuery.V2.Model.StandardSqlDataType.t() | nil,
  structType: GoogleApi.BigQuery.V2.Model.StandardSqlStructType.t() | nil,
  typeKind: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.