pub struct TimePartitioning {
pub expiration_ms: Option<i64>,
pub field: Option<String>,
pub require_partition_filter: Option<bool>,
pub type_: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§expiration_ms: Option<i64>Optional. Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value.
field: Option<String>Optional. If not set, the table is partitioned by pseudo column ‘_PARTITIONTIME’; if set, the table is partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED. A wrapper is used here because an empty string is an invalid value.
require_partition_filter: Option<bool>If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. This field is deprecated; please set the field with the same name on the table itself instead. This field needs a wrapper because we want to output the default value, false, if the user explicitly set it.
type_: Option<String>Required. The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively.
Trait Implementations§
Source§impl Clone for TimePartitioning
impl Clone for TimePartitioning
Source§fn clone(&self) -> TimePartitioning
fn clone(&self) -> TimePartitioning
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more