You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "izveigor (via GitHub)" <gi...@apache.org> on 2023/06/27 14:17:44 UTC
[GitHub] [arrow-datafusion] izveigor opened a new issue, #6779: Unable to determine return type for function `ArrayFill`
izveigor opened a new issue, #6779:
URL: https://github.com/apache/arrow-datafusion/issues/6779
### Describe the bug
`ArrayFill` function can return lists with different dimensions:
```
postgres=# select array_fill(a, b) from fills;
array_fill
-----------------------------------
{{2,2}}
{5,5,5,5,5,5,5}
{{{{1}}}}
{{4,4,4},{4,4,4},{4,4,4},{4,4,4}}
(4 rows)
```
The standard `return_type` function cannot determine the type for 'dynamic' functions. because it prefers to assign one type to the whole column and does not take into account their arguments.
### To Reproduce
_No response_
### Expected behavior
_No response_
### Additional context
About `array_fill` function: https://www.postgresql.org/docs/current/functions-array.html.
--
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