Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
UDFs that are table functions must implement SqlTableFunction and have CURSOR as their return type,
Validate that table functions are not used in contexts that require scalar functions, such as the SELECT clause.
Change operand type ANY to mean 'scalar expression of any type (but not a cursor)', and add operand type IGNORE to mean skip validation - for an operand that is not an expression. TABLE is one of the few operators that accepts a CURSOR operand.
Attachments
Issue Links
- is depended upon by
-
CALCITE-2160 Spatial grid index, to accelerate polygon-to-polygon spatial joins
- Closed
- is related to
-
CALCITE-3271 Table-valued function windowing and EMIT syntax support in Calcite
- Open