Closed npawar closed 2 years ago
We had some discussion on this earlier too: https://github.com/apache/pinot/issues/7310. I would agree that groovy functions should be disabled by default :-)
+1
PR for adding config for disabling groovy in queries: https://github.com/apache/pinot/pull/8159
Adding table config overrides for disabling groovy #8196
In Pinot you can write a Groovy script as part of your query: https://docs.pinot.apache.org/users/user-guide-query/scalar-functions#groovy-scripts. This is a security risk, and we should disable this by default. cc @mayankshriv