Reproducer:
> select sqrt(null);
Plan("Coercion from [Utf8] to the signature Uniform(1, [Float64, Float32]) failed.")
The correct output is null
I think the solution will likely be to teach the function type coercion code about the null type (and that it can be cast to any other type). See #1184 for more details