Skip to content

Commit 1f3039a

Browse files
authored
ESQL: Reenable INLINESTATS tests (#132200)
#115813 refactoring disabled a couple of INLINESTATS tests. These are working correctly now.
1 parent 0b9f15a commit 1f3039a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,6 @@ public void testComplexFieldNames() throws IOException {
11091109
* query. It's part of the "configuration" of the query.
11101110
* </p>
11111111
*/
1112-
@AwaitsFix(bugUrl = "Disabled temporarily until JOIN implementation is completed")
11131112
public void testInlineStatsNow() throws IOException {
11141113
assumeTrue("INLINESTATS only available on snapshots", Build.current().isSnapshot());
11151114
indexTimestampData(1);
@@ -1125,8 +1124,8 @@ public void testInlineStatsNow() throws IOException {
11251124
.item("value" + i)
11261125
.item("value" + i)
11271126
.item(i)
1128-
.item(any(String.class))
11291127
.item(499.5)
1128+
.item(any(String.class))
11301129
);
11311130
}
11321131
assertResultMap(
@@ -1135,8 +1134,8 @@ public void testInlineStatsNow() throws IOException {
11351134
.item(matchesMap().entry("name", "test").entry("type", "text"))
11361135
.item(matchesMap().entry("name", "test.keyword").entry("type", "keyword"))
11371136
.item(matchesMap().entry("name", "value").entry("type", "long"))
1138-
.item(matchesMap().entry("name", "now").entry("type", "date"))
1139-
.item(matchesMap().entry("name", "AVG(value)").entry("type", "double")),
1137+
.item(matchesMap().entry("name", "AVG(value)").entry("type", "double"))
1138+
.item(matchesMap().entry("name", "now").entry("type", "date")),
11401139
values
11411140
);
11421141
}

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/JoinTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import java.util.Set;
2525

2626
public class JoinTests extends ESTestCase {
27-
@AwaitsFix(bugUrl = "Test needs updating to the new JOIN planning")
2827
public void testExpressionsAndReferences() {
2928
int numMatchFields = between(1, 10);
3029

0 commit comments

Comments
 (0)