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

[C++] Support [Large]ListView and Map types for if_else, case_when, and coalesce #41418

Closed
ZhangHuiGui opened this issue Apr 28, 2024 · 1 comment
Assignees
Milestone

Comments

@ZhangHuiGui
Copy link
Collaborator

ZhangHuiGui commented Apr 28, 2024

Describe the bug, including details regarding any error messages, version, and platform.

Recently, when i looked into the case_when and related kernel functions' implementation(for solving other problems), i find we've forgotten to add some nested types like list_view, large_list_view, map into related functions which already supported these types.

Component(s)

C++

@felipecrv felipecrv changed the title [C++] Support [Large]ListView and Map nested types for some scalar_if_else's kernel functions [C++] Support [Large]ListView and Map types for if_else, case_when, and coalesce Apr 29, 2024
felipecrv pushed a commit that referenced this issue Apr 30, 2024
…f_else's kernel functions (#41419)

### Rationale for this change
Add [Large]ListView and Map nested types for scalar_if_else's kernel functions

### What changes are included in this PR?
1. Add the list-view related types to `case_when`, `coalesce`'s kernel function and move the nested-types's added
   logic to a unified function for better management.
2. Add the `MapType` and related test for `if_else`

### Are these changes tested?
Yes

### Are there any user-facing changes?
No

* GitHub Issue: #41418

Authored-by: ZhangHuiGui <2689496754@qq.com>
Signed-off-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
@felipecrv felipecrv added this to the 17.0.0 milestone Apr 30, 2024
@felipecrv
Copy link
Contributor

Issue resolved by pull request 41419
#41419

tolleybot pushed a commit to tmct/arrow that referenced this issue May 2, 2024
…alar_if_else's kernel functions (apache#41419)

### Rationale for this change
Add [Large]ListView and Map nested types for scalar_if_else's kernel functions

### What changes are included in this PR?
1. Add the list-view related types to `case_when`, `coalesce`'s kernel function and move the nested-types's added
   logic to a unified function for better management.
2. Add the `MapType` and related test for `if_else`

### Are these changes tested?
Yes

### Are there any user-facing changes?
No

* GitHub Issue: apache#41418

Authored-by: ZhangHuiGui <2689496754@qq.com>
Signed-off-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
vibhatha pushed a commit to vibhatha/arrow that referenced this issue May 25, 2024
…alar_if_else's kernel functions (apache#41419)

### Rationale for this change
Add [Large]ListView and Map nested types for scalar_if_else's kernel functions

### What changes are included in this PR?
1. Add the list-view related types to `case_when`, `coalesce`'s kernel function and move the nested-types's added
   logic to a unified function for better management.
2. Add the `MapType` and related test for `if_else`

### Are these changes tested?
Yes

### Are there any user-facing changes?
No

* GitHub Issue: apache#41418

Authored-by: ZhangHuiGui <2689496754@qq.com>
Signed-off-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants