Skip to content

[CALCITE-7664] Support CURSOR for table functions - #5300

Open
tkalkirill wants to merge 2 commits into
apache:mainfrom
tkalkirill:calcite-7664
Open

tkalkirill wants to merge 2 commits into
apache:mainfrom
tkalkirill:calcite-7664

Conversation

@tkalkirill

Copy link
Copy Markdown
Contributor

Jira Link

CALCITE-7664

Changes Proposed

Support CURSOR arguments for table functions, using CursorInput for explicit SqlFunction implementations and ResultSet for Java UDTFs.

SELECT *
FROM TABLE(cursor_and_number(
  CURSOR(SELECT empno FROM emp),
  (SELECT MAX(deptno) FROM dept)
));

@sonarqubecloud

sonarqubecloud Bot commented Oct 2, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant