taptao commented on code in PR #24504:
URL: https://github.com/apache/doris/pull/24504#discussion_r1464804531
##########
fe/fe-core/src/main/java/org/apache/doris/analysis/CreateFunctionStmt.java:
##########
@@ -490,6 +498,24 @@ private void analyzeJavaUdaf(String clazz) throws
AnalysisException {
}
}
+ private void analyzeWasmUdf() throws AnalysisException {
+ try {
+ URL url = new URL(userFile);
+ try (Store<Void> store = Store.withoutData()) {
+ try (Engine engine = store.engine();
+ Module module = Module.fromFile(engine,
url.getFile())) {
+ return;
Review Comment:
I tried it before, but wasmtime-java jar doesn't support this method. I
asked the wasmtime-java author this question, but there has been no reply so
far.
--
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]