pub struct PartialPeriodConfig {
pub fine_grain_view: String,
pub time_grain_column: String,
pub time_grain_trunc: TemporalGrain,
}Expand description
Configuration for partial-period awareness (UNION ALL optimization).
When a coarse-grain fact table (e.g. monthly pre-aggregated) is queried with a date filter that falls mid-period, the runtime generates a UNION ALL query combining fine-grain source data for boundary periods with pre-aggregated data for complete intermediate periods.
Fields§
§fine_grain_view: StringFine-grain source view (e.g., “v_events_day”).
time_grain_column: StringColumn holding the period date (e.g., “date”).
time_grain_trunc: TemporalGrainTruncation granularity for period boundaries.
Trait Implementations§
Source§impl Clone for PartialPeriodConfig
impl Clone for PartialPeriodConfig
Source§fn clone(&self) -> PartialPeriodConfig
fn clone(&self) -> PartialPeriodConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PartialPeriodConfig
impl Debug for PartialPeriodConfig
Source§impl<'de> Deserialize<'de> for PartialPeriodConfig
impl<'de> Deserialize<'de> for PartialPeriodConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PartialPeriodConfig
Source§impl PartialEq for PartialPeriodConfig
impl PartialEq for PartialPeriodConfig
Source§impl Serialize for PartialPeriodConfig
impl Serialize for PartialPeriodConfig
impl StructuralPartialEq for PartialPeriodConfig
Auto Trait Implementations§
impl Freeze for PartialPeriodConfig
impl RefUnwindSafe for PartialPeriodConfig
impl Send for PartialPeriodConfig
impl Sync for PartialPeriodConfig
impl Unpin for PartialPeriodConfig
impl UnsafeUnpin for PartialPeriodConfig
impl UnwindSafe for PartialPeriodConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.