Ian,
I don’t think anyone has done this before, but making your own executor does
seem to be the right path.
It’s possible that Schema does not need to be part of the solution. Schema is
used for looking up operators by name, but if you already have the operators
(because they are referenced i
Hey Ian,
If the SqlOperator implements the ImplementableFunction [1] interface then
you may be able to use the RexExecutor [2] but I assume you already
explored this direction.
I am not sure if there is an easier way to achieve this.
Best,
Stamatis
[1]
https://github.com/apache/calcite/blob/28c5
Howdy,
I’m playing around with some testing expressions after transformation, and
would like to use RexExecutor to evaluate\* the original expression and
expression resulting from the transformation.
(\*these expressions do not have input refs or any other kinds of
“free-variables”)
However, thi