-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.0
-
Component/s: Table SQL / Legacy Planner
-
Labels:
For now, UDF open method can not be invoked when SQL is optimized. For example, a SQL as follow:
SELECT MyUdf(1) as constantValue FROM MyTable
MyUdf.open can not be invoked in OldPlanner.
So, we can construct a constantFunctionContext or a constantRuntimeContext and invoke it just like BlinkPlanner.