You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "JasonLi-cn (via GitHub)" <gi...@apache.org> on 2023/11/15 01:44:31 UTC
[I] UDF/UDAF/UDWF: refactor ReturnType [arrow-datafusion]
JasonLi-cn opened a new issue, #8182:
URL: https://github.com/apache/arrow-datafusion/issues/8182
### Def one UDF:
```rust
my_udf(expr, 'return_type')
```
### Using:
case1:
```rust
my_duf(col, 'UInt32')
Return Type is:
DataType::UInt32
```
case2:
```rust
my_duf(col, 'UInt64')
Return Type is:
DataType::UInt64
```
At present, the above udf cannot be realized through the `ReturnTypeFunction`. This is because the `ReturnTypeFunction` provides only the data types of the input parameters.
_Originally posted by @JasonLi-cn in https://github.com/apache/arrow-datafusion/discussions/7657_
--
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@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UDF/UDAF/UDWF: refactor ReturnType [arrow-datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #8182: UDF/UDAF/UDWF: refactor ReturnType
URL: https://github.com/apache/arrow-datafusion/issues/8182
--
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@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UDF/UDAF/UDWF: refactor ReturnType [arrow-datafusion]
Posted by "JasonLi-cn (via GitHub)" <gi...@apache.org>.
JasonLi-cn commented on issue #8182:
URL: https://github.com/apache/arrow-datafusion/issues/8182#issuecomment-1811667774
https://github.com/apache/arrow-datafusion/discussions/7657
--
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@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UDF/UDAF/UDWF: refactor ReturnType [arrow-datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #8182:
URL: https://github.com/apache/arrow-datafusion/issues/8182#issuecomment-2051432420
Dupe of https://github.com/apache/arrow-datafusion/issues/8624
--
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@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org