Skip to content

Commit

Permalink
add comment to best illustrate the purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhseh committed Feb 3, 2024
1 parent 4c0015f commit 6fad732
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frontend/src/binder/expr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,8 @@ impl Binder {
Ok(func_call.into())
}

/// The optimization check for the following case-when expression pattern
/// e.g., select case 1 when (...) then (...) else (...) end;
fn check_constant_case_when_optimization(
&mut self,
conditions: Vec<Expr>,
Expand Down

0 comments on commit 6fad732

Please sign in to comment.