super compile
super compile [ options ] query
Options
-Cdisplay DAG or AST as query text (default “false”)-dagdisplay output as DAG (implied by -O or -P) (default “false”)-filescompile query as if command-line input files are present) (default “false”)-Isource file containing query text (may be repeated)-Odisplay optimized DAG (default “false”)-Pdisplay parallelized DAG (default “0”)- Global Options
Description
The super compile command allows detailed
interactions with various stages of the query compiler.
This command parses a SuperSQL query
and emits the resulting abstract syntax tree (AST) or
runtime directed acyclic graph (DAG) in the output
format desired. Use -dag to specify the DAG form; otherwise, the
AST form is assumed.
The -C option causes the output to be shown as query language
text instead of the AST. This is particularly helpful to
see how SuperSQL queries
in their abbreviated form are translated
into the expanded, pedantic form of
pipe queries. The DAG can
also be formatted as query-style text but the resulting text is
informational only and does not conform to any query syntax. When
-C is specified, the result is sent to stdout and the -f and
-o options have no effect.
This command is often used for dev and test but is also useful to advanced users for understanding how SuperSQL syntax is parsed into an AST or compiled into a runtime DAG.