nmondal opened a new issue, #14968: URL: https://github.com/apache/druid/issues/14968
### Description JSR-223 is pretty interesting, and allows a lot of scripting languages to be run inside JVM. Current code almost has it, just that we have to make it generic to accept not only JS, but groovy, jruby, clojure whatever works. Copying the JavaScript specific code, and refactoring it would do fine. Naturally, the druid classpath must have the scripting engine. ### Motivation https://en.wikipedia.org/wiki/Scripting_for_the_Java_Platform - Same advantage of having JS - More so because of being absolutely polyglot - Disadvantage might be performance for dynamic languages - but - we can also use Kotlin, Scala, Java as scripts , moreover the option to generate a compiled version of scripts does wonders to performance, it would compile to JVM bytecode anyways. -- 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: commits-unsubscr...@druid.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org