alan910127 commented on code in PR #14737: URL: https://github.com/apache/datafusion/pull/14737#discussion_r1969771105
########## 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: I don't quite understand, isn't this the return type of the udf? -- 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