diff --git a/spark/src/main/scala/org/apache/comet/shims/ShimQueryPlanSerde.scala b/spark/src/main/scala/org/apache/comet/shims/ShimQueryPlanSerde.scala index 9de537a6d..b92d3fc6a 100644 --- a/spark/src/main/scala/org/apache/comet/shims/ShimQueryPlanSerde.scala +++ b/spark/src/main/scala/org/apache/comet/shims/ShimQueryPlanSerde.scala @@ -59,7 +59,7 @@ trait ShimQueryPlanSerde { if (evalMode.isEmpty) { true } else { - "legacy".equalsIgnoreCase(evalMode.head.toString) + "legacy".equalsIgnoreCase(evalMode.head.toString) } }