Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_when
Function · 0.80
test_case_expression_nullability
Function · 0.80
any_op_with_null_handling
Function · 0.80
plan_all_op
Function · 0.80
simplify
Method · 0.80
build_test_data_frame
Function · 0.80
parquet_exec_has_no_pruning_predicate_if_can_not_prune
Function · 0.80
parquet_exec_has_pruning_predicate_for_guarantees
Function · 0.80
describe
Method · 0.80
consecutive_projection_same_schema
Function · 0.80
test_nvl
Function · 0.80
test_nvl2
Function · 0.80
Calls
2
new
Function · 0.85
build
Method · 0.45
Tested by
6
format_case_when
Function · 0.64
test_case_expression_nullability
Function · 0.64
consecutive_projection_same_schema
Function · 0.64
test_nvl
Function · 0.64
test_nvl2
Function · 0.64
simplify_and_constant_prop_with_case
Function · 0.64