MCPcopy Create free account
hub / github.com/apache/datafusion / is_lateral

Function is_lateral

datafusion/sql/src/relation/join.rs:183–190  ·  view source on GitHub ↗

Returns `true` if the given [`TableFactor`] is lateral.

(factor: &TableFactor)

Source from the content-addressed store, hash-verified

181
182/// Returns `true` if the given [`TableFactor`] is lateral.
183pub(crate) fn is_lateral(factor: &TableFactor) -> bool {
184 match factor {
185 TableFactor::Derived { lateral, .. } => *lateral,
186 TableFactor::Function { lateral, .. } => *lateral,
187 TableFactor::UNNEST { .. } => true,
188 _ => false,
189 }
190}
191
192/// Returns `true` if the given [`Join`] is lateral.
193pub(crate) fn is_lateral_join(join: &Join) -> Result<bool> {

Callers 2

plan_table_with_joinsMethod · 0.85
is_lateral_joinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…