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

Method otherwise

datafusion/expr/src/conditional_expressions.rs:58–61  ·  view source on GitHub ↗
(&mut self, else_expr: Expr)

Source from the content-addressed store, hash-verified

56 }
57 }
58 pub fn otherwise(&mut self, else_expr: Expr) -> Result<Expr> {
59 self.else_expr = Some(Box::new(else_expr));
60 self.build()
61 }
62
63 pub fn end(&self) -> Result<Expr> {
64 self.build()

Callers 14

format_case_whenFunction · 0.80
plan_all_opFunction · 0.80
simplifyMethod · 0.80
build_test_data_frameFunction · 0.80
describeMethod · 0.80
test_nvlFunction · 0.80
test_nvl2Function · 0.80

Calls 2

newFunction · 0.85
buildMethod · 0.45

Tested by 6

format_case_whenFunction · 0.64
test_nvlFunction · 0.64
test_nvl2Function · 0.64