Skip to main content

timestamp_values

Function timestamp_values 

Source
fn timestamp_values(array: &ArrayRef, unit: TimeUnit) -> Result<Int64Array>
Expand description

Extracts the time index column’s raw values in the writer’s unit. A timestamp array carrying a different unit is an invariant violation: the alter path flushes memtables before widening the region’s time index unit, so a writer never receives batches in the region’s previous unit. Reject the mismatch rather than reinterpreting or rescaling the values.