Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
For query:
SELECT *
FROM TABLE(TUMBLE_TVF(
TABLE ORDERS,
DESCRIPTOR(ROWTIME),
INTERVAL '10' MINUTE))
TABLE ORDERS is converted to SqlPrefixOperator, but DESCRIPTOR(ROWTIME) has no mapping in SqlStdOperatorTable.
There are two options:
1. There is a SqlColumnListConstructor which serves the same(similar) purpose to specific a list of column.
2. We create a new operator for DESCRIPTOR.
Reuse existing code is always good so we can start from option one and see if it works.
Attachments
Issue Links
- blocks
-
CALCITE-3272 TUMBLE Table-valued Function
- Closed
- is a child of
-
CALCITE-2270 [SQL:2016] Polymorphic table functions
- Open
- links to