datafusion
datafusion copied to clipboard
feat: support `FixedSizeList` Type Coercion
Which issue does this PR close?
Follow #8902
Rationale for this change
For future maintenance, extend Array which specialized Signature for ArrayEmpty and similar functions
What changes are included in this PR?
- The signatures of array functions with one parameter to use
Signature::array - Support
allow_null_coercionto determine if the signature acceptsDataType::NULLto do type coercion.
Are these changes tested?
Are there any user-facing changes?
It seems to support FixedSizeList, we need all the array functions to change the signature and go through coerced_fixed_size_list_to_list once 🤔. I'm not sure it is a good idea, but I did not come out with a better one though
@Weijun-H, thanks again!