Skip to content

Commit 7f4c7cd

Browse files
authored
Merge branch 'main' into SEARCH-1026-implement-support-for-weighted-rrf
2 parents 1d807ee + 1f3039a commit 7f4c7cd

File tree

3 files changed

+16
-20
lines changed

3 files changed

+16
-20
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/internalClusterTest/java/org/elasticsearch/xpack/esql/action/TelemetryIT.java

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -161,22 +161,20 @@ public static Iterable<Object[]> parameters() {
161161
: Collections.emptyMap(),
162162
Build.current().isSnapshot() ? Map.ofEntries(Map.entry("MAX", 1)) : Collections.emptyMap(),
163163
Build.current().isSnapshot()
164+
) },
165+
new Object[] {
166+
new Test(
167+
"""
168+
FROM idx
169+
| EVAL ip = TO_IP(host), x = TO_STRING(host), y = TO_STRING(host)
170+
| INLINESTATS MAX(id)
171+
""",
172+
Build.current().isSnapshot() ? Map.of("FROM", 1, "EVAL", 1, "INLINESTATS", 1) : Collections.emptyMap(),
173+
Build.current().isSnapshot()
174+
? Map.ofEntries(Map.entry("MAX", 1), Map.entry("TO_IP", 1), Map.entry("TO_STRING", 2))
175+
: Collections.emptyMap(),
176+
Build.current().isSnapshot()
164177
) }
165-
// awaits fix for https://github.com/elastic/elasticsearch/issues/116003
166-
// ,
167-
// new Object[] {
168-
// new Test(
169-
// """
170-
// FROM idx
171-
// | EVAL ip = to_ip(host), x = to_string(host), y = to_string(host)
172-
// | INLINESTATS max(id)
173-
// """,
174-
// Build.current().isSnapshot() ? Map.of("FROM", 1, "EVAL", 1, "INLINESTATS", 1) : Collections.emptyMap(),
175-
// Build.current().isSnapshot()
176-
// ? Map.ofEntries(Map.entry("MAX", 1), Map.entry("TO_IP", 1), Map.entry("TO_STRING", 2))
177-
// : Collections.emptyMap(),
178-
// Build.current().isSnapshot()
179-
// ) }
180178
);
181179
}
182180

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)