Skip to content

Commit

Permalink
fix 3.3 shim
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jun 6, 2024
1 parent 23f5996 commit 9f30b4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ trait CometExprShim {
CometEvalMode.fromBoolean(expr.failOnError)

def evalMode(expr: Sum): CometEvalMode.Value =
CometEvalMode.fromBoolean(expr.failOnError)
CometEvalMode.fromBoolean(expr.useAnsiAdd)

def evalMode(expr: Average): CometEvalMode.Value =
CometEvalMode.fromBoolean(expr.failOnError)
CometEvalMode.fromBoolean(expr.useAnsiAdd)

def evalMode(c: Cast): CometEvalMode.Value = CometEvalMode.fromBoolean(c.ansiEnabled)

Expand Down

0 comments on commit 9f30b4c

Please sign in to comment.