Skip to content

Conversation

@jayzhan211
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

Prefer ListArray::new() and array::compute::concat to build Array instead of ArrayData, which I think adds more complexity and difficult for understanding the code. In previous implementation I fails to build it without ArrayData, but now I know how to do :) https://github.com/apache/arrow-datafusion/pull/6879/files#r1261847204

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
@github-actions github-actions bot added the physical-expr Changes to the physical-expr crates label Oct 5, 2023
@jayzhan211 jayzhan211 changed the title Minor: Rewrite concat_internal() in array expression Minor: Build concat_internal() with ListArray construction instead of ArrayData Oct 5, 2023
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like an improvement to me -- thank you @jayzhan211

@alamb alamb merged commit 2e7fd62 into apache:main Oct 6, 2023
Ted-Jiang pushed a commit to Ted-Jiang/arrow-datafusion that referenced this pull request Oct 7, 2023
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-expr Changes to the physical-expr crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants