Description
Currently, there is no way to put an operator that calls functions in kernel state, which means that when a js udf or a subquery executes, we accrue execution time both in the operator evaluating the expression and the operators executing the underlying sub plan.
Add a per operator context so that we can put the caller in kernel (or services or...) state while the subquery executes.