Is your feature request related to a problem or challenge?
#8578 added a ScalarUDFImpl trait for implementing ScalarUDF.
@thinkharderdev said: #8578 (comment)
Nice! It would be very useful to be able to handle serde as well for custom implementations (perhaps in a different PR?). I think this could fit relatively easily into LogicalExtensionCodec
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response