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

Function order_nulls_first

datafusion/functions-nested/src/sort.rs:490–498  ·  view source on GitHub ↗
(modifier: &str)

Source from the content-addressed store, hash-verified

488}
489
490fn order_nulls_first(modifier: &str) -> Result<bool> {
491 match modifier.to_uppercase().as_str() {
492 "NULLS FIRST" => Ok(true),
493 "NULLS LAST" => Ok(false),
494 _ => exec_err!(
495 "the third parameter of array_sort expects NULLS FIRST or NULLS LAST"
496 ),
497 }
498}

Callers 1

array_sort_innerFunction · 0.85

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…