jayzhan211 opened a new issue, #11546: URL: https://github.com/apache/datafusion/issues/11546
Dataframe API for `map` expects us to pass args with `make_array` i.e. `map(vec![make_array(vec![lit("a"), lit("b")]), make_array(vec![lit("1"), lit("2")])]) I think we could have easier one with without `make_array` `map(vec![lit("a"), lit("b")], vec![lit("1"), lit("2")]]) To achieve this we may need to change the arguments o f `MapFunc` from two array to `Vec<Expr>`, which the first half are `keys`, another half are `values`. _Originally posted by @jayzhan211 in https://github.com/apache/datafusion/pull/11452#discussion_r1684115054_ -- 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.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