You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2025/10/22 22:15:37 UTC
[I] CreateFunction statement can't represent input or output types that require metadata [datafusion]
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: github-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] CreateFunction statement can't represent input or output types that require metadata [datafusion]
Posted by "cblp (via GitHub) via github" <gi...@datafusion.apache.org>.
cblp commented on issue #18235:
URL: https://github.com/apache/datafusion/issues/18235#issuecomment-6635844150
take
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] CreateFunction statement can't represent input or output types that require metadata [datafusion]
Posted by "alamb (via GitHub) via github" <gi...@datafusion.apache.org>.
alamb closed issue #18235: CreateFunction statement can't represent input or output types that require metadata
URL: https://github.com/apache/datafusion/issues/18235
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org