alamb commented on code in PR #11666:
URL: https://github.com/apache/datafusion/pull/11666#discussion_r1693954393
##########
datafusion/functions-aggregate/COMMENTS.md:
##########
@@ -54,7 +54,7 @@ first argument and the definition looks like this:
// `input_type` : data type of the first argument
let mut fields = vec![Field::new_list(
format_state_name(self.name(), "nth_value"),
- Field::new("item", args.input_type.clone(), true /* nullable of list item
*/ ),
+ Field::new("item", args.input_types.clone(), true /* nullable of list item
*/ ),
Review Comment:
```suggestion
Field::new("item", args.input_types[0].clone(), true /* nullable of list
item */ ),
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]