jayzhan211 commented on code in PR #14737: URL: https://github.com/apache/datafusion/pull/14737#discussion_r1969525703
########## datafusion/functions-nested/src/resize.rs: ########## @@ -106,6 +127,7 @@ impl ScalarUDFImpl for ArrayResize { match &arg_types[0] { List(field) | FixedSizeList(field, _) => Ok(List(Arc::clone(field))), LargeList(field) => Ok(LargeList(Arc::clone(field))), + DataType::Null => Ok(DataType::Null), Review Comment: convert to List(Int64) then we don't need to handle null -- 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