Uh oh!
There was an error while loading. Please reload this page.
Implementation of array_intersect - #8081
Conversation
hi @edmondop@jayzhan211 , I have a draft implementation for array_intersect, I use a hashmap to store the first array values and find values that appear in the hashmap. And it works just fine and looks like a general approach? But I encounter a problem for Float32 and Float64, we can not just use |
Perhaps you could use https://docs.rs/arrow-row/latest/arrow_row/? This would have the added benefit of supporting more complex types, e.g. lists of lists, and not adding additional codegen (#7988). The notes I wrote on #6981 (comment) might be helpful for this |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
array_intersectUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
6b7198f to
f12525cCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Veeupup
commented
Nov 9, 2023
@alamb PTAL : ) |
xudong963
commented
Nov 9, 2023
@Veeupup Triggered the ci, please fix it. |
Signed-off-by: veeupup <code@tanweime.com>
Signed-off-by: veeupup <code@tanweime.com> x
@xudong963 hi try fixing ci locally, maybe you can help me trigger it again or review it? : ) |
alamb
left a comment
There was a problem hiding this comment.
Looks like a nice implementation to me -- thank you @Veeupup@Dandandan@tustvold@xudong963 and @Dandandan -- what a team effort ❤️
xudong963
left a comment
There was a problem hiding this comment.
LGTM, welcome to arrow-datafusion
Which issue does this PR close?
Closes#6978
Rationale for this change
Using RowConverter to implement
array_intersect, no duplicate code for different data types,What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?