Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jun 4, 2024
1 parent e7d648d commit 60de09c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala
Original file line number Diff line number Diff line change
Expand Up @@ -700,27 +700,27 @@ object QueryPlanSerde extends Logging with ShimQueryPlanSerde with CometExprShim
handleCast(child, inputs, dt, timeZoneId, evalMode(c))

case expr: Add if evalMode(expr) == CometEvalMode.ANSI =>
withInfo(expr, s"ANSI mode not supported")
withInfo(expr, "ANSI mode not supported")
None

case expr: Subtract if evalMode(expr) == CometEvalMode.ANSI =>
withInfo(expr, s"ANSI mode not supported")
withInfo(expr, "ANSI mode not supported")
None

case expr: Multiply if evalMode(expr) == CometEvalMode.ANSI =>
withInfo(expr, s"ANSI mode not supported")
withInfo(expr, "ANSI mode not supported")
None

case expr: Divide if evalMode(expr) == CometEvalMode.ANSI =>
withInfo(expr, s"ANSI mode not supported")
withInfo(expr, "ANSI mode not supported")
None

case expr: Remainder if evalMode(expr) == CometEvalMode.ANSI =>
withInfo(expr, s"ANSI mode not supported")
withInfo(expr, "ANSI mode not supported")
None

case expr: Pmod if evalMode(expr) == CometEvalMode.ANSI =>
withInfo(expr, s"ANSI mode not supported")
withInfo(expr, "ANSI mode not supported")
None

case add @ Add(left, right, _) if supportedDataType(left.dataType) =>
Expand Down

0 comments on commit 60de09c

Please sign in to comment.