Skip to content

Commit 4b56c52

Browse files
authored
remove unreachable code (#1213)
1 parent 4333dce commit 4b56c52

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

common/src/main/scala/org/apache/comet/vector/NativeUtil.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ class NativeUtil {
163163
case numRows =>
164164
val cometVectors = importVector(arrays, schemas)
165165
Some(new ColumnarBatch(cometVectors.toArray, numRows.toInt))
166-
case flag =>
167-
throw new IllegalStateException(s"Invalid native flag: $flag")
168166
}
169167
}
170168

0 commit comments

Comments
 (0)