Skip to main content

Module join

Module join 

Source
Expand description

JOIN FFI Functions for JIT

External C functions for JOIN operations called from JIT-compiled code. JOIN operations are typically executed at the query level, not within tight expression loops, so these functions delegate to the runtime.

Functionsยง

jit_join_coalesce
Coalesce: return first non-NULL value Args: left, right
jit_join_is_null
Check if a value is NULL (for LEFT/RIGHT/FULL JOIN null handling)
jit_join_null
Return NULL value (for outer join null filling)
jit_join_values_equal
Check if two values match for JOIN condition (equality) Args: left_value, right_value Returns: 1 (true) or 0 (false)
jit_temporal_match
Temporal JOIN match check Args: left_timestamp, right_timestamp, tolerance_ms Returns: 1 (true) if within tolerance, 0 (false) otherwise