Add support for set-returning functions

Description

Copying from

Add support for a new kind of function which will return anonymous tuples i.e. a table.
These functions will have to additionally specify a return type resolver that returns an anonymous tuple, which may optionally allow "ordinality".
The ordinality is something that serves as element index and is common on many databases.

It would be cool if we could add a few standard table functions like

  • unnest - unnest arrays to rows

  • generate_series - generate a series of values => See

  • split - split a string to rows => See

Note that this is going to be an incubating API, since users will be able to implement custom table valued functions.

Activity

Show:
Fixed

Details

Assignee

Reporter

Sprint

Fix versions

Priority

Created September 23, 2024 at 11:15 AM
Updated December 3, 2024 at 9:49 AM
Resolved October 18, 2024 at 8:08 AM