1fanwang commented on code in PR #25179:
URL: https://github.com/apache/datafusion/pull/25179#discussion_r3993218968
##########
datafusion/functions-nested/src/resize.rs:
##########
@@ -186,6 +188,16 @@ fn array_resize_inner(arg: &[ArrayRef]) ->
Result<ArrayRef> {
}
}
+/// Resolve the requested size for one row. A negative size is rejected as a
+/// user error; reporting it as an internal error asks the caller to file a bug
+/// report for input they control.
+fn resize_count(count_array: &Int64Array, idx: usize) -> Result<usize> {
Review Comment:
Done in
https://github.com/apache/datafusion/commit/847b155277d6dfa630b78310aa7407060e968be3.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]