private static HiveRelOptMaterialization createMaterialization(Table table) throws ParseException {
    return new HiveRelOptMaterialization(
            new DummyRel(table), new DummyRel(table), null, asList(table.getDbName(), table.getTableName()),
            RewriteAlgorithm.ALL,
            IncrementalRebuildMode.AVAILABLE, ParseUtils.parse(table.getViewExpandedText(), null));
  }
Functional and parallel execution tests for {@link MaterializedViewsCache}.
Parallel execution test is disabled by default.
ql/src/test/org/apache/hadoop/hive/ql/metadata/TestMaterializedViewsCache.java