private Table getTable(String db, String tableName, String definition) {
    Table table = new Table(new org.apache.hadoop.hive.metastore.api.Table());
    table.setDbName(db);
    table.setTableName(tableName);
    table.setViewExpandedText(definition);
    return table;
  }
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