paleolimbot commented on PR #18136: URL: https://github.com/apache/datafusion/pull/18136#issuecomment-3661815295
> Is there an example of actually customizing casting, or an issue tracking getting us there? There's an issue to create a registry for `dyn Extension`y things and a POC PR with not much discussion driving a DataFusion-based solution ( https://github.com/apache/datafusion/issues/18223 )...I added a comment there on how we might go about that using the registry. This exact PR allows DataFusion-based projects to implement a workaround (for example, in SedonaDB I'm planning to transform the logical plan to rewrite casts to an extension type to a scalar function call to `sd_cast()` ). Casts show up in SQL -> LogicalPlan internals and SQL types are now FieldRefs too, so my personal next step was to see if we now have enough to add a UUID type in SQL. -- 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]
