alamb commented on code in PR #15166: URL: https://github.com/apache/datafusion/pull/15166#discussion_r1992124161
########## datafusion/sql/src/statement.rs: ########## @@ -214,11 +215,13 @@ impl<S: ContextProvider> SqlToRel<'_, S> { verbose, statement, analyze, - format: _, + format, describe_alias: _, .. } => { - self.explain_to_plan(verbose, analyze, DFStatement::Statement(statement)) + let format = format.map(|format| format.to_string()); Review Comment: I think that would be a fine idea to propose upstream in sqlparser I am not aware of any plans at the moment -- 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