Skip to main content

duration_between

Function duration_between 

Source
pub fn duration_between(
    arena: &mut MorselArena,
    of: &LogicalType,
    kind: DurationKind,
    from: &ValueVector,
    to: &ValueVector,
    sel: Option<&SelVector>,
) -> Result<ValueVector>
Expand description

The duration that carries from to to, over two vectors of the same temporal type.

of is that type, which the compiler read off the columns and both operands share. sel is the chunk’s selection, which is what the conditions are raised over and nothing else reads.