Skip to main content

register_greptime_functions

Function register_greptime_functions 

Source
fn register_greptime_functions(
    session_state: &mut SessionState,
    query_ctx: &QueryContextRef,
) -> Result<()>
Expand description

Registers Greptime functions after building the request decoder state.

DataFusion aliases can rebind Greptime date_format to built-in to_char; registration must happen after SessionStateBuilder::build on the state that decodes the request plan.