In the QUERY "select" clause it states that you can use a scalar function in place of a column name, for example "year(A)".
And in another part of the documentation it states that you can call a script function by coding "=function_name(...)" into the cell.
My question is: can you use a script function as a "scalar function" in a QUERY statement?
If possible, it would greatly simplify code and might improve performance, for some cases, for example "copying data from one sheet to another".
Here is my example
Assume "test" is a function that issues a "return" statement that modifies
its input parameter.
I have tried the code
=test(A1)
in a cell and it works.
But when I try this QUERY
=QUERY(A1:A10, "select test(A)" )
it fails. My guess it does not like the "test(A)" value. Is there some way to do this.