Skip to content

Commit

Permalink
changes enum used
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTroyUWO committed Sep 18, 2023
1 parent 0566641 commit 73f419a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-sql/src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ impl SqlFunctionVisitor<'_> {
// ----
// Comparison functions
// ----
NullIf => self.visit_binary(|l, r: Expr| when(l.clone().eq(r)).then(lit(crate::functions::LiteralValue::Null)).otherwise(l)),
NullIf => self.visit_binary(|l, r: Expr| when(l.clone().eq(r)).then(lit(LiteralValue::Null)).otherwise(l)),
Coalesce => self.visit_variadic(coalesce),

// ----
Expand Down

0 comments on commit 73f419a

Please sign in to comment.