alan910127 commented on issue #14451: URL: https://github.com/apache/datafusion/issues/14451#issuecomment-2639208217
Hello @jkosh44, what do you think about this? `array_resize` should return `NULL` only if the second argument (new length) is `NULL`. If the third argument (new element) is `NULL`, the new slots (if any) should be set to `NULL`. This behavior would make `array_resize(array, new_len)` equivalent to `array_resize(array, new_len, NULL)`, which I think makes more sense. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org