[ 
https://issues.apache.org/jira/browse/CALCITE-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17714497#comment-17714497
 ] 

Bertil Chapuis commented on CALCITE-5309:
-----------------------------------------

Thanks a lot for your answer, it helps a lot.

Could you elaborate a little bit more on the method you mention (i.e., 'RelNode 
implementCursor(int)')? More precisely:
 * I'm not sure to understand the 'int' parameter. I would expect the input of 
the cursor to be a sub query (e.g., 'cursor(select * from 
table(s.GenerateStrings(?)))'). In my previous attempts at implementing 
cursors, I tried to implement the cursor with a method that takes an 
Enumerable<Object[]> as a parameter.
 * Is there a specific location in the codebase (package or class) where you 
expect this method to be located?

> Accept cursors as inputs of table functions
> -------------------------------------------
>
>                 Key: CALCITE-5309
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5309
>             Project: Calcite
>          Issue Type: New Feature
>            Reporter: Bertil Chapuis
>            Assignee: Bertil Chapuis
>            Priority: Major
>
> The TableFunctionTest.testTableFunctionCursorsInputs is currently disabled 
> and a note says that it could not be implemented. This feature is necessary 
> to implement table functions that take a query or a table as an input.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to