v.22.3Improvement
EXPLAIN AST Query Outputs Graphviz Format Graph
EXPLAIN ASTquery can output AST in form of a graph in Graphviz format:EXPLAIN AST graph = 1 SELECT * FROM system.parts. #35173 (李扬).
Why it matters
This feature allows users to visualize the AST of a query, making it easier to understand query parsing and optimization by representing the query structure graphically.How to use it
Use the commandEXPLAIN AST graph = 1 <query> to get the AST output in Graphviz graph format. For example: EXPLAIN AST graph = 1 SELECT * FROM system.parts.