goldmedal commented on code in PR #13418: URL: https://github.com/apache/datafusion/pull/13418#discussion_r1842568392
########## datafusion/sql/src/unparser/expr.rs: ########## @@ -476,6 +476,19 @@ impl Unparser<'_> { &self, func_name: &str, args: &[Expr], + ) -> Result<ast::Expr> { + match func_name { + "make_array" => self.make_array_to_sql(args), + "array_element" => self.array_element_to_sql(args), + // TODO: support for the construct and access functions of the `map` and `struct` types Review Comment: Similar cases exist for `map` and `struct`. I'll file another issue for them. -- 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