v.18.4New Feature

Added support for table functions as arguments in remote and cluster table functions

Added the ability to use a table function instead of a table as an argument of a remote or cluster table function #2708.
Added support for using a table function as an argument in the remote and cluster table functions.

Why it matters

This feature allows greater flexibility in distributed queries by enabling dynamic specification of tables through table functions instead of static table names. It helps users construct more dynamic and programmable distributed queries on clusters.

How to use it

Use a table function as the argument inside the remote or cluster functions. For example, instead of specifying a table name directly, provide a table function call to specify the tables dynamically.