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

Function order_desc

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

Source from the content-addressed store, hash-verified

480}
481
482fn order_desc(modifier: &str) -> Result<bool> {
483 match modifier.to_uppercase().as_str() {
484 "DESC" => Ok(true),
485 "ASC" => Ok(false),
486 _ => exec_err!("the second parameter of array_sort expects DESC or ASC"),
487 }
488}
489
490fn order_nulls_first(modifier: &str) -> Result<bool> {
491 match modifier.to_uppercase().as_str() {

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…