executor.exec("create table t (content string index using fulltext with (analyzer='foobar'))");
}
@Test
public void testSysNodesVersionFromMultipleNodes() throws Exception {
SQLResponse response = executor.exec("select version, version['number'], " +
"version['build_hash'], version['build_snapshot'] " +
"from sys.nodes");
assertThat(response.rowCount(), is(2L));
for (int i = 0; i <=1 ; i++) {
assertThat(response.rows()[i][0], instanceOf(Map.class));
assertThat((Map<String, Object>) response.rows()[i][0], allOf(hasKey("number"), hasKey("build_hash"), hasKey("build_snapshot")));
assertThat((String) response.rows()[i][1], Matchers.is(Version.CURRENT.number()));
assertThat((String)response.rows()[i][2], is(Build.CURRENT.hash()));
assertThat((Boolean) response.rows()[i][3], is(Version.CURRENT.snapshot()));
}
}