jayzhan211 commented on issue #11268: URL: https://github.com/apache/datafusion/issues/11268#issuecomment-2211708702
> > The datatype of key and value should be known before `invoke`, so we can get the corresponding Builder based on the data type > > Indeed. I'll try to use MapBuilder. Thanks :) btw, there is probably a downside for using MapBuilder, since we need to create different builder for different types which easily causes code bloat. We have similar issue while building array function before https://github.com/apache/datafusion/issues/7988. I'm not sure what is the best approach yet, worth to explore it. -- 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]
