[MDEV-5199] Table functions (a.k.a UDF returning arrays / result set) Created: 2013-10-28 Updated: 2023-03-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Adrian Partl | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 12 |
| Labels: | gsoc14, gsoc15 | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
| Comments |
| Comment by Sergei Golubchik [ 2015-02-07 ] |
|
A possible implementation could be: the UDF exports a generator, we create a handler of the hidden "storage engine" class, no indexes, and convert this generator to rnd_init/rnd_next. Need to disable rnd_pos somehow. |
| Comment by kapil chhajer [ 2015-03-11 ] |
|
Hi, |
| Comment by Sergei Petrunia [ 2015-04-22 ] |
|
== General notes == == Parser == note: the table can only be addressed through an alias. This syntax is not SELECT table_func(1,2).column FROM table_func(1,2) one must use SELECT T_ALIAS.column FROM table_func(1,2) as T_ALIAS == Name resolution/preparation ==
== Execution ==
(Q: what exactly does LOCAL mean? That the table is DROPped when leaving the
|
| Comment by Sergei Petrunia [ 2015-05-04 ] |
|
Decisions:
|
| Comment by Rafsun Masud [ 2023-03-27 ] |
|
Any update on this task? |
| Comment by Daniel Black [ 2023-03-27 ] |
|
Keep voting or watching this issue and it will eventually raise to the visibility to implement; or engage in development of the task; or fund the development https://mariadb.com, or a community lead funding of it. |