Expand description
NestedLoopJoinExec: joins without equijoin (equality predicates).
Structsยง
- Join
Left ๐Data - Left (build-side) data
- Nested
Loop Join Exec - NestedLoopJoinExec is a build-probe join operator designed for joins that
do not have equijoin keys in their
ONclause. - Nested
Loop ๐Join Metrics - Nested
Loop ๐Join Stream
Enumsยง
- NLJState ๐
- States for join processing. See
poll_next()comment for more details about state transitions.
Functionsยง
- apply_
filter_ ๐to_ row_ join_ batch - Apply the join filter between: (l_index th row in left buffer) x (right batch) Returns a bitmap, with successfully joined indices set to true
- build_
row_ ๐join_ batch - This function performs the following steps:
- build_
unmatched_ ๐batch - Example:
- build_
unmatched_ ๐batch_ empty_ schema - Special case for
PlaceHolderRowExecMinimal example: SELECT 1 WHERE EXISTS (SELECT 1); - collect_
left_ ๐input - Asynchronously collect input into a single batch, and creates
JoinLeftDatafrom it - create_
record_ ๐batch_ with_ empty_ schema - Creates an empty RecordBatch with a specific row count. This is useful for cases where we need a batch with the correct schema and row count but no actual data columns (e.g., for constant filters).