Skip to content

Commit

Permalink
add more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhseh committed Feb 4, 2024
1 parent 67e90fa commit e45675b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/frontend/src/binder/expr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,9 @@ impl Binder {
);

if constant_case_when_flag {
// Here we reuse the `ConstantLookup` as the `FunctionCall`
// to avoid creating a dummy `ConstCaseWhenEval` expression type
// since we do not need to go through backend
return Ok(FunctionCall::new(
ExprType::ConstantLookup,
constant_case_when_eval_inputs,
Expand Down

0 comments on commit e45675b

Please sign in to comment.