JavaScript is disable, query with JS aggregation functions

Hello all,

when i try to execute a query that contains JS aggregation functions i receive the following error:

{

“error” : “Unknown exception”,

“errorMessage” : “JavaScript is disabled”,

“errorClass” : “io.druid.java.util.common.ISE”,

“host” : “ip-172-30-1-161.eu-west-1.compute.internal:8083”

}

i tried to activate JS modifying**/conf/druid/_common/common.runtime.properties** adding the following parameters druid.javascript.enabled

but this doesn’t work…

Any idea how can i activate JavaScript functions ?

Thx in advance!

Alex.

did you set the value to true

druid.javascript.enabled=true at the right config file ?

are you sure that you restarted the nodes ?