jayzhan211 commented on issue #11546: URL: https://github.com/apache/datafusion/issues/11546#issuecomment-2240989183
> I have some concerns for it. If we make MapFunc to accept one array, it would be used like SELECT map([1,2,3,'a','b','c']) After planning, the input array would be ['1','2','3','a','b','c'] because of the type coercion for array elements. I think the behavior is wrong. If we change the signature of MapFunc, we might need to have another implementation to solve it. I think in this case we should adjust the coercion rule with `coerce_types` for `MapFunc` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
