paleolimbot commented on issue #12644: URL: https://github.com/apache/datafusion/issues/12644#issuecomment-3110602845
> For example could one make a UUID type stored as a fixed length binary that works with col = 'abc' as well as col = 'a-b-c'? If that example is SQL then the SQL parser would need some way to access a function that can parse a string of a user-registered type, so not today. If you're generating expressions using something else (e.g., Python), you can parse literals however you want or create functions that do the casting you want. DuckDB has a registry of casts that extensions can insert into and uses to/from string for this sort of thing. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org