Skip to content

Commit 1774cb0

Browse files
committed
Don't use data with the CSV data loader, just the mapping
1 parent 713de2b commit 1774cb0

File tree

3 files changed

+10
-33
lines changed

3 files changed

+10
-33
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/CsvTestsDataLoader.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ public class CsvTestsDataLoader {
145145
private static final TestDataset MV_TEXT = new TestDataset("mv_text");
146146
private static final TestDataset DENSE_VECTOR = new TestDataset("dense_vector");
147147
private static final TestDataset COLORS = new TestDataset("colors");
148-
private static final TestDataset FULL_TEXT_SEARCH = new TestDataset("full_text_search");
149148

150149
public static final Map<String, TestDataset> CSV_DATASET_MAP = Map.ofEntries(
151150
Map.entry(EMPLOYEES.indexName, EMPLOYEES),
@@ -207,8 +206,7 @@ public class CsvTestsDataLoader {
207206
Map.entry(LOGS.indexName, LOGS),
208207
Map.entry(MV_TEXT.indexName, MV_TEXT),
209208
Map.entry(DENSE_VECTOR.indexName, DENSE_VECTOR),
210-
Map.entry(COLORS.indexName, COLORS),
211-
Map.entry(FULL_TEXT_SEARCH.indexName, FULL_TEXT_SEARCH)
209+
Map.entry(COLORS.indexName, COLORS)
212210
);
213211

214212
private static final EnrichConfig LANGUAGES_ENRICH = new EnrichConfig("languages_policy", "enrich-policy-languages.json");

x-pack/plugin/esql/qa/testFixtures/src/main/resources/data/full_text_search.csv

Lines changed: 0 additions & 21 deletions
This file was deleted.

x-pack/plugin/esql/qa/testFixtures/src/main/resources/knn-function.csv-spec

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -235,15 +235,15 @@ from colors metadata _score
235235
| keep color, round_score
236236
;
237237

238-
color:text | round_score: double
239-
olive | 1.0
240-
olive drab | 0.0014
241-
dark olive green | 4.0E-4
242-
dark golden rod | 3.0E-4
243-
sienna | 3.0E-4
244-
medium aqua marine | 0.0
245-
medium spring green | 0.0
246-
light golden rod yellow | 0.0
238+
color:text | round_score:double
239+
olive | 1.0
240+
olive drab | 0.0014
241+
dark olive green | 4.0E-4
242+
dark golden rod | 3.0E-4
243+
sienna | 3.0E-4
244+
light golden rod yellow | 0.0
245+
medium aqua marine | 0.0
246+
medium spring green | 0.0
247247
;
248248

249249
testKnnWithNonPushableDisjunctionsOnComplexExpressions

0 commit comments

Comments
 (0)