DriverManager.getConnection("jdbc:optiq:" + suffix);
OptiqConnection optiqConnection =
connection.unwrap(OptiqConnection.class);
SchemaPlus rootSchema = optiqConnection.getRootSchema();
if (schemaList.contains("hr")) {
rootSchema.add("hr", new ReflectiveSchema(new JdbcTest.HrSchema()));
}
if (schemaList.contains("foodmart")) {
rootSchema.add("foodmart",
new ReflectiveSchema(new JdbcTest.FoodmartSchema()));
}
if (schemaList.contains("lingual")) {
rootSchema.add("SALES",
new ReflectiveSchema(new JdbcTest.LingualSchema()));
}
if (schemaList.contains("post")) {
final SchemaPlus post = rootSchema.add("POST", new AbstractSchema());
post.add("EMP",
ViewTable.viewMacro(