tobixdev commented on PR #20312:
URL: https://github.com/apache/datafusion/pull/20312#issuecomment-4089151202
Thank you @paleolimbot ! From my limited experience this looks good!
> Another approach would be to register a CastExtension with both types
(to/from)...happy to experiment.
Maybe this could be interessting with an eye regarding `CREATE CAST`
support. Something akin to:
```rust
fn create_cast_extensions(&self) -> Vec<Box<dyn CastExtension>> {
Vec::new() }
```
And then the planner could consider i) the defaults from the extension types
and ii) any custom registered casting functions.
--
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]