def METHOD_NAME(name):
    def do_expectation(_context, _value):
        return ExpectationResult(
            success=True,
            label="output_table_exists",
            description=f"Checked {name} exists",
        )
    @op(
        name=name,
        description="Inject raw file for input to table {} and do expectation on output".format(
            name
        ),
    )
    def raw_file_op(_context):
        yield AssetMaterialization(
            asset_key="table_info",
            metadata={"table_path": MetadataValue.path(f"/path/to/{name}.raw")},
        )
        yield do_expectation(_context, name)
        yield Output(name)
    return raw_file_op