Function expr_test_util::json_to_spec[][src]

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

Turns the json version of a MirRelationExpr into the 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.