jayzhan211 commented on code in PR #11452: URL: https://github.com/apache/datafusion/pull/11452#discussion_r1679372260
########## datafusion/functions-array/src/make_array.rs: ########## @@ -131,6 +138,77 @@ impl ScalarUDFImpl for MakeArray { } } +#[derive(Debug)] +pub struct MakeArrayStrict { Review Comment: I think the high level idea is that `SELECT MAKE_MAP('POST', 41, 'PAST', 33,'PATCH', 30)` We arrange args to ['POST', 'PAST', 'PATCH'], [41, 33, 30], and call `MAP(['POST', 'PAST', 'PATCH'], [41, 33, 30])` I just noticed that we can't directly pass these two array to `MapFunc` 😕 -- 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