Expand description
Time window expr and helper functions
Structsยง
- Time
Window Expr - Time window expr like
date_bin(INTERVAL '1' MINUTE, ts)
, this type help with evaluating the expr using given timestamp
Functionsยง
- binary_
search_ ๐expr - calc_
expr_ ๐time_ window_ lower_ bound - Find the lower bound of time window in given
expr
andcurrent
timestamp. - columnar_
to_ ๐ts_ vector - Convert
ColumnarValue
toVec<Option<Timestamp>>
- create_
df_ ๐schema_ for_ ts_ column - eval_
phy_ ๐time_ window_ expr - Expect the
phy
expression only have one input column with Timestamp type, and also return Timestamp type - find_
time_ window_ expr - Return (
the column name of time index column
,the time window expr
,the expected time unit of time index column
,the expr's schema for evaluating the time window
) - probe_
expr_ ๐time_ window_ upper_ bound - Probe for the upper bound for time window expression
- to_
phy_ ๐expr