|
|
@@ -130,13 +130,13 @@ public class CliExplainIT extends CliIntegrationTestCase {
|
|
|
|
|
|
assertThat(command("EXPLAIN " + (randomBoolean() ? "" : "(PLAN ANALYZED) ") + "SELECT COUNT(*) FROM test"), containsString("plan"));
|
|
|
assertThat(readLine(), startsWith("----------"));
|
|
|
- assertThat(readLine(), startsWith("Aggregate[[],[COUNT(*)"));
|
|
|
+ assertThat(readLine(), startsWith("Aggregate[[],[COUNT(1[INTEGER]) AS COUNT(*)"));
|
|
|
assertThat(readLine(), startsWith("\\_EsRelation[test][i{f}#"));
|
|
|
assertEquals("", readLine());
|
|
|
|
|
|
assertThat(command("EXPLAIN (PLAN OPTIMIZED) SELECT COUNT(*) FROM test"), containsString("plan"));
|
|
|
assertThat(readLine(), startsWith("----------"));
|
|
|
- assertThat(readLine(), startsWith("Aggregate[[],[COUNT(*)"));
|
|
|
+ assertThat(readLine(), startsWith("Aggregate[[],[COUNT(1[INTEGER]) AS COUNT(*)"));
|
|
|
assertThat(readLine(), startsWith("\\_EsRelation[test][i{f}#"));
|
|
|
assertEquals("", readLine());
|
|
|
|