From 34d19dd292b86deb9c004a98262aa9cb0474dfed Mon Sep 17 00:00:00 2001 From: Steve Vaughan Date: Tue, 23 Apr 2024 15:16:34 -0400 Subject: [PATCH] chore: Ignore unused variables (#306) Co-authored-by: Steve Vaughan Jr --- .../main/scala/org/apache/comet/serde/QueryPlanSerde.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 0bc2c1d3c7..9a12930fc6 100644 --- a/spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala +++ b/spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala @@ -628,7 +628,7 @@ object QueryPlanSerde extends Logging with ShimQueryPlanSerde { None } - case mul @ Multiply(left, right, _) => + case mul @ Multiply(left, _, _) => if (!supportedDataType(left.dataType)) { withInfo(mul, s"Unsupported datatype ${left.dataType}") } @@ -663,7 +663,7 @@ object QueryPlanSerde extends Logging with ShimQueryPlanSerde { withInfo(div, left, right) None } - case div @ Divide(left, right, _) => + case div @ Divide(left, _, _) => if (!supportedDataType(left.dataType)) { withInfo(div, s"Unsupported datatype ${left.dataType}") }