Skip to content

Commit b03eb57

Browse files
committed
fix: align ArrayExistsUDF.evaluate with CometUDF numRows parameter
Followup to the apache/main merge: the framework's evaluate signature gained numRows in PR #4306, but the ArrayExistsUDF override was missed.
1 parent cc2e993 commit b03eb57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spark/src/main/scala/org/apache/comet/udf/ArrayExistsUDF.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import org.apache.comet.CometArrowAllocator
4545
*/
4646
class ArrayExistsUDF extends CometUDF {
4747

48-
override def evaluate(inputs: Array[ValueVector]): ValueVector = {
48+
override def evaluate(inputs: Array[ValueVector], numRows: Int): ValueVector = {
4949
require(inputs.length == 2, s"ArrayExistsUDF expects 2 inputs, got ${inputs.length}")
5050
val listVec = inputs(0).asInstanceOf[ListVector]
5151
val keyVec = inputs(1).asInstanceOf[VarCharVector]

0 commit comments

Comments
 (0)