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

   ### Is your feature request related to a problem or challenge?
   
   The create function statement can't express input or output types that need 
metadata to express them (e.g., UUID). After 
https://github.com/apache/datafusion/pull/17986 , there is a more clear path 
towards actually representing those types and there is some code in the SQL 
planner that drops metadata to support the CreateFunction statement.
   
   
https://github.com/apache/datafusion/blob/774b6fee0b8a33b48e28ef35ac5242e80312900b/datafusion/expr/src/logical_plan/ddl.rs#L473-L483
   
   ### Describe the solution you'd like
   
   The `DataType` members could be replaced with something that can also 
support metadata or an extension type.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   More places where an extension type can't be represented in a logical 
plan/statement:
   
   - Issue for updating Cast: https://github.com/apache/datafusion/issues/18060
   - Issue for updating Placeholder: 
https://github.com/apache/datafusion/issues/17862
   - Issue for updating ScalarVariable: 
https://github.com/apache/datafusion/issues/18230


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

Reply via email to