GoogleApi.BigQuery.V2.Model.TimePartitioning (google_api_big_query v0.71.0) View Source

Attributes

  • expirationMs (type: String.t, default: nil) - [Optional] Number of milliseconds for which to keep the storage for partitions in the table. The storage in a partition will have an expiration time of its partition time plus this value.
  • field (type: String.t, default: nil) - [Beta] [Optional] If not set, the table is partitioned by pseudo column, referenced via either '_PARTITIONTIME' as TIMESTAMP type, or '_PARTITIONDATE' as DATE type. If field is specified, the table is instead partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.
  • requirePartitionFilter (type: boolean(), default: nil) -
  • type (type: String.t, default: nil) - [Required] The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively. When the type is not specified, the default behavior is DAY.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.BigQuery.V2.Model.TimePartitioning{
  expirationMs: String.t() | nil,
  field: String.t() | nil,
  requirePartitionFilter: boolean() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.