waynexia commented on issue #14914: URL: https://github.com/apache/datafusion/issues/14914#issuecomment-2698684681
For the setting side, how about using the existing `EXPLAIN [ANALYZE] FORMAT <format>` grammar? `sqlparser` can parse and generate a [`AnalyzeFormat`](https://docs.rs/sqlparser/0.54.0/sqlparser/ast/enum.AnalyzeFormat.html), which the planner can use. But our current implementation just drops this format field: https://github.com/apache/datafusion/blob/ed517efcf329de55e7a9d881d6d76d885bc3598d/datafusion/sql/src/statement.rs#L213-L222 We can also try to support GRAPHVIZ format in this way, it should be easier to be rendered to svg. -- 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