jayzhan211 commented on code in PR #14289: URL: https://github.com/apache/datafusion/pull/14289#discussion_r1933068989
########## datafusion/functions-nested/src/extract.rs: ########## @@ -330,7 +330,8 @@ pub(super) struct ArraySlice { impl ArraySlice { pub fn new() -> Self { Self { - signature: Signature::variadic_any(Volatility::Immutable), + // TODO: This signature should use the actual accepted types, not variadic_any. Review Comment: > My only idea is to extend ArrayFunctionSignature with a variant like ArrayAndElements(NonZeroUsize) I think this is better -- 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