datafusion
datafusion copied to clipboard
Introduce coercion signature `VariadicCoercion` and `UniformCoercion`
Which issue does this PR close?
Closes #10423 .
Rationale for this change
What changes are included in this PR?
Add VariadicCoercion, UniformCoercion
Remove VariadicEqual (coercion rule does not require the result type to be the same for all)
Add the datafusion error aside from the signature error message for better debugging usage that is why many test files are updated.
Are these changes tested?
UDAF code is also included but no test is covered since no UDAF requires coercion there yet (We will cover it after moving builtin to UDAF)