-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Minor: remove null in array-append
and array-prepend
#8901
Conversation
@@ -1577,9 +1577,9 @@ select | |||
query ???? | |||
select | |||
array_append(arrow_cast(make_array(), 'LargeList(Null)'), 4), | |||
array_append(make_array(), null), |
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.
tests without arrow-case looks valid for me, should we delete them?
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.
what is arrow-case?
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.
Maybe arrow-cast?
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.
right, arrow-cast, no worries, I found we already have such cases in array.slt
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
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 again @Weijun-H
@@ -1031,12 +1031,6 @@ where | |||
let res = match list_array.value_type() { | |||
DataType::List(_) => concat_internal::<i32>(args)?, | |||
DataType::LargeList(_) => concat_internal::<i64>(args)?, | |||
DataType::Null => { |
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.
👨🍳 👌
Which issue does this PR close?
Related #8625 #8317 Thanks @jayzhan211 effort, we can remove
NULL
inarray-append
andarray-prepend
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?