use of io.druid.sql.calcite.schema.InformationSchema in project druid by druid-io.
the class Calcites method createRootSchema.
public static SchemaPlus createRootSchema(final Schema druidSchema) {
final SchemaPlus rootSchema = CalciteSchema.createRootSchema(false, false).plus();
rootSchema.add(DruidSchema.NAME, druidSchema);
rootSchema.add(InformationSchema.NAME, new InformationSchema(rootSchema));
return rootSchema;
}
Aggregations