You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Simplify the returned type in TypeSignature::get_possible_types #13371
I love the idea of this, I'm not sure logical type will work for all functions, especially those that are user defined. It may be worth if to go through all the functions and build up a spreadsheet of what input/output types they have. I've been wanting to have a more detailed list of functions and their details anyways so if I get a chance I may do that
Activity
goldmedal commentedon Nov 13, 2024
I prefer to provide a real type name here instead of a semantic name (e.g.
string,int). The similar behavior in DuckDB likeBecause we have the logic type now, maybe showing the logic type name would be a better choice. WDYT?
https://github.com/apache/datafusion/blob/main/datafusion/common/src/types/native.rs
Omega359 commentedon Nov 13, 2024
Odd that duckdb seems to be repeating the list there but I'd love to have that list for all functions in DF
jayzhan211 commentedon Nov 13, 2024
I prefer Logical Type
Omega359 commentedon Nov 14, 2024
I love the idea of this, I'm not sure logical type will work for all functions, especially those that are user defined. It may be worth if to go through all the functions and build up a spreadsheet of what input/output types they have. I've been wanting to have a more detailed list of functions and their details anyways so if I get a chance I may do that
jayzhan211 commentedon Nov 14, 2024
For user defined signature, they should provide their argument and return type, so we can just get the info from it.