Function mz_expr_test_util::json_to_spec

source ยท
pub fn json_to_spec(
    rel_json: &str,
    catalog: &TestCatalog,
) -> (String, Vec<String>)
Expand description

Turns the json version of a MirRelationExpr into the mz_lowertest::to_json syntax.

The return value is a tuple of:

  1. The translated MirRelationExpr.
  2. The commands to register sources referenced by the MirRelationExpr with the test catalog.