The SQL statement contains more nested function calls than can be processed.
Check whether some of the functions within the nesting can be omitted. If this is not possible, check whether the desired effect can be obtained by using a QUERY expression in the FROM clause or by generating and reusing a named result table that contains part of the functions.