Commit ce01339
committed
test: remove RegExpLikeUDFSuite due to shading boundary
The unit suite imports `org.apache.arrow.memory.RootAllocator` and
`org.apache.comet.CometArrowAllocator` from the spark module's test
sources, but at runtime the spark module loads the shaded
comet-common.jar from the local Maven repo. That JAR has
`package$.CometArrowAllocator()` returning the relocated
`org.apache.comet.shaded.arrow.memory.RootAllocator`, while the test
bytecode expects unshaded `org.apache.arrow.memory.RootAllocator`,
producing NoSuchMethodError. The earlier per-test RootAllocator
variant hit a different failure mode (Arrow leak detection).
End-to-end coverage of the JVM regex path is provided by
CometRegExpJvmSuite, which exercises Java-only constructs
(backreference, lookahead, lookbehind, embedded flags, named
groups), null handling, empty inputs, and multi-batch flows.1 parent 8073cf3 commit ce01339
3 files changed
Lines changed: 0 additions & 133 deletions
File tree
- .github/workflows
- spark/src/test/scala/org/apache/comet/udf
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | 390 | | |
392 | 391 | | |
393 | 392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | 228 | | |
230 | 229 | | |
231 | 230 | | |
| |||
Lines changed: 0 additions & 131 deletions
This file was deleted.
0 commit comments