One of the more tedious tasks when creating table functions is getting a list of columns with data types from the query result.
This extension has features to create RPG DS layouts, it makes sense to me to allow for creating SQL table function return structures. This could even be extended to also develop SQL procedure parameters from a query.