Skip to content

Commit 8b92370

Browse files
committed
style: drop unused idx binding in RegExpInStrUDF to fix scalafix lint
1 parent 5e18c62 commit 8b92370

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

common/src/main/scala/org/apache/comet/udf/RegExpInStrUDF.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ class RegExpInStrUDF extends CometUDF {
5858

5959
val patternStr = new String(patternVec.get(0), StandardCharsets.UTF_8)
6060
val pattern = patternCache.computeIfAbsent(patternStr, Pattern.compile)
61-
val idx = idxVec.get(0)
6261

6362
val n = subject.getValueCount
6463
val out = new IntVector("regexp_instr_result", CometArrowAllocator)

0 commit comments

Comments
 (0)