diff --git a/spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala b/spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala index f2870c9d3..65c535f47 100644 --- a/spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala +++ b/spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala @@ -904,7 +904,7 @@ object QueryPlanSerde extends Logging with ShimQueryPlanSerde with CometExprShim (left != negZeroLeft && right != negZeroRight) && (left != leftZero && right != rightZero) && (left != doubleNan && right != doubleNan) && - (left != floatNan && right != floatNan) && isSpark34Plus) { + (left != floatNan && right != floatNan)) { withInfo(expr, left, right) return None }