assertThat(md.columns().size(), is(2));
assertThat(md.hasAutoGeneratedPrimaryKey(), is(true));
}
private DocIndexMetaData getDocIndexMetaDataFromStatement(String stmt) throws IOException {
Statement statement = SqlParser.createStatement(stmt);
ClusterService clusterService = mock(ClusterService.class);
CreateTableStatementAnalyzer analyzer = new CreateTableStatementAnalyzer(
new ReferenceInfos(
ImmutableMap.<String, SchemaInfo>of("doc",
new DocSchemaInfo(clusterService,