Skip to main content

Crate mz_expr_parser

Crate mz_expr_parser 

Source

Structs§

TestCatalog
A catalog that holds types of objects previously created for the unit test.

Enums§

Def

Functions§

handle_define
handle_roundtrip
print_scalar
Renders a MirScalarExpr such that crate::try_parse_scalar parses it back to an equal expression.
try_parse_column_types
Parses a parenthesized, comma-separated column type list, for example (bigint, text?). A trailing ? marks a column as nullable.
try_parse_def
Builds a source definition from a string.
try_parse_mir
Builds a mz_expr::MirRelationExpr from a string.
try_parse_scalar
Builds a mz_expr::MirScalarExpr from a string.
try_parse_scalars
Builds a comma-separated list of mz_expr::MirScalarExprs from a string.