FunctionContext is not passed to setupEvaluatePeer in FrameSupportTemplate


I’m not sure this is the right place to post this, so please direct me to the right place if it’s not.

When using a function call that requires an injected buffer in the context of a framed window operator, the runtime compilation fails because the FunctionContext is not available in the setupEvaluatePeer function.
Am I right to assume this is a bug or is it by design and I am using it wrong?


Hello @oridag,

What are you trying to develop here, a UDF?

Yes, I’m adding an aggregation function that aggregates strings so it needs an injected buffer.
Opened a pull request here: