smokeriu opened a new issue, #1901: URL: https://github.com/apache/incubator-seatunnel/issues/1901
### Search before asking - [X] I had searched in the [feature](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement. ### Description Allow users to upload a custom Java Code file . and call it like a UDF. ### Usage Scenario - User use --files to upload their code.java. - Define a class named CodeInvokeExpress in `package org.apache.spark.sql.expression`. - Because I need use some private method/class. - Use `CodeGenerator` to compile user code.java. - A similar CodeGenerator is already implemented by Spark via Janino, so we don't need to add additional dependencies. - I plan to use, for the time being, the CodeGenerator that Spark has implemented . It has been fully tested. - Use Expression.eval to invoke compile result. ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
