goldmedal opened a new issue, #13271:
URL: https://github.com/apache/datafusion/issues/13271

   ### Is your feature request related to a problem or challenge?
   
   https://github.com/apache/datafusion/pull/13255 introduced the 
`information_schema.routines` table. I'm working on another table, 
`inoformation_schema.parameters`. Both need to list all possible combinations 
of the argument types and return types from a function signature.
   
   ### Describe the solution you'd like
   
   I implemented the method `TypeSignature::get_possible_types` to initial this 
framework( 
https://github.com/apache/datafusion/pull/13255#discussion_r1828682832). 
Currently, I only implement `TypeSignature::Exact` and `TypeSignature::OneOf`. 
I think we can invoke the functions in `type_coercion/functions.rs` to do it.
   
   
https://github.com/apache/datafusion/blob/32266c2676a78a4ea05779d1624dfaa131092ee1/datafusion/expr/src/type_coercion/functions.rs#L301-L305
   
   Given all types as the current type, and then get all possible argument 
combinations.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   - https://github.com/apache/datafusion/pull/13255#discussion_r1828682832
   - https://github.com/apache/datafusion/issues/12144#issuecomment-2456167400


-- 
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.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

Reply via email to