Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

array_concat with arrays with different dimensions does not work properly #6992

Closed
izveigor opened this issue Jul 17, 2023 · 1 comment · Fixed by #7008
Closed

array_concat with arrays with different dimensions does not work properly #6992

izveigor opened this issue Jul 17, 2023 · 1 comment · Fixed by #7008
Labels
bug Something isn't working

Comments

@izveigor
Copy link
Contributor

Describe the bug

Follow on to #6872
When I was working on #6986 I noticed the bug: when the function input are arrays with different dimensions and they are not in order, the function cannot determine the data type of the output.

To fix the bug, we should rewrite create_physical_expr for ArrayConcat built in function.

To Reproduce

# a = 2d, b = 3d, c = 1d arrays
select array_concat(a, b, c) from arrays;

Expected behavior

No response

Additional context

No response

@izveigor
Copy link
Contributor Author

I'll take it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant