izveigor commented on code in PR #7313: URL: https://github.com/apache/arrow-datafusion/pull/7313#discussion_r1297406740
########## datafusion/expr/src/built_in_function.rs: ########## @@ -548,6 +551,7 @@ impl BuiltinScalarFunction { "The {self} function can only accept list as the first argument" ), }, + BuiltinScalarFunction::ArrayEmpty => Ok(UInt8), Review Comment: The function can return only 2 values (`0` and `1`), so it is reasonable to use `Boolean` instead of `UInt8` -- 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...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org