ggjh-159 opened a new issue, #12266:
URL: https://github.com/apache/gluten/issues/12266
### Backend
VL (Velox)
### Bug description
When submitting a query containing an `IN` predicate with string literal
values, the SQL client crashes with `UnsatisfiedLinkError`. The planner runs in
the SQL client process where the Velox native library is not loaded (only
loaded in TaskManagerRunner). The IN predicate conversion path triggers a JNI
call, which should not happen in the planner.
### Gluten version
main branch
### Spark version
None
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
```bash
ava.lang.UnsatisfiedLinkError: 'java.lang.String
io.github.zhztheplayer.velox4j.jni.StaticJniWrapper.variantInferType(java.lang.String)'
at
io.github.zhztheplayer.velox4j.jni.StaticJniWrapper.variantInferType(Native
Method)
at
io.github.zhztheplayer.velox4j.jni.StaticJniApi.variantInferType(StaticJniApi.java:104)
at
io.github.zhztheplayer.velox4j.expression.ConstantTypedExpr.create(ConstantTypedExpr.java:63)
at
org.apache.gluten.rexnode.RexNodeConverter.toTypedExpr(RexNodeConverter.java:147)
at
org.apache.gluten.rexnode.functions.SearchRexCallConverter.toTypedExpr(SearchRexCallConverter.java:64)
at
org.apache.gluten.rexnode.RexNodeConverter.toTypedExpr(RexNodeConverter.java:69)
at
org.apache.gluten.rexnode.RexNodeConverter.lambda$toTypedExpr$0(RexNodeConverter.java:89)
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
......
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]