-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Port Array Union and Intersect to functions-array
#9629
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
Conversation
| /// `make_array` SQL function | ||
| /// `make_array_inner` is the implementation of the `make_array` function. | ||
| /// Can be used if the expected input and output are ArrayRef | ||
| pub(crate) fn make_array_inner(arrays: &[ArrayRef]) -> Result<ArrayRef> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename to avoid conflict with function name
|
I am considering moving |
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
| } | ||
|
|
||
| /// `make_array` SQL function | ||
| /// `make_array_inner` is the implementation of the `make_array` function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| /// `make_array_inner` is the implementation of the `make_array` function. | |
| /// Constructs an array using the input `data` as `ArrayRef`. | |
| /// Returns a reference-counted `Array` instance result. |
|
|
||
| /// `make_array` SQL function | ||
| /// `make_array_inner` is the implementation of the `make_array` function. | ||
| /// Can be used if the expected input and output are ArrayRef |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| /// Can be used if the expected input and output are ArrayRef |
comphead
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm thanks @jayzhan211
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Which issue does this PR close?
Parts of #9285
Rationale for this change
What changes are included in this PR?
move
array distincttoset_opsAre these changes tested?
Are there any user-facing changes?