v.18.12New Feature
Added JOIN Support for Table Functions
Added support for JOIN with table functions. Winter Zhang
Why it matters
This feature enables users to use table functions directly inJOIN clauses, allowing more flexible and dynamic data retrieval by joining query results with generated or external data represented by table functions. It expands the querying capabilities and simplifies workflows where intermediate datasets are generated on-the-fly.How to use it
Use table functions in theJOIN clause as you would use regular tables. For example:SELECT *
FROM main_table
JOIN someTableFunction(params) AS tf
ON main_table.id = tf.id