Expand description
Printing of MirScalarExpr in the syntax accepted by the parser.
Unlike the EXPLAIN printer, which renders function variants by their SQL
name (losing the exact variant, e.g. + for every add function), this
printer renders exact variants by their canonical name. Parsing the output
reconstructs the original expression. Test tooling uses this to generate
parser inputs.
Functionsยง
- print_
literal ๐ - print_
repr_ ๐scalar_ type - print_
scalar - Renders a
MirScalarExprsuch thatcrate::try_parse_scalarparses it back to an equal expression. - print_
sql_ ๐scalar_ type