-
Notifications
You must be signed in to change notification settings - Fork 25.6k
ESQL: Opt in to support for new aggregate_metric_double and dense_vector using query constructs
#135215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESQL: Opt in to support for new aggregate_metric_double and dense_vector using query constructs
#135215
Changes from 2 commits
870db5f
c541fbd
ef1da90
6d546f9
c5c40cb
ce91be1
dae8a4a
d7f00df
654abde
1945205
aae54e9
67b4e73
3780362
5249481
09c4eb9
72d338f
d25151c
280da8a
abd851a
206560c
b9fee12
a1d2389
61110ab
ef0c269
663c15a
1da11c7
a76afc1
1e8c58b
90e21a0
c30668f
77b59d4
a515924
9102fcd
8f2d210
8b6c45f
c60a704
f38c8a1
78a85db
86005ad
9919907
fef79ba
60e7e05
435d233
940a3b2
d4cfad8
94784ab
0d9c027
d2a5064
d172d26
20472de
280daf8
85771e7
cd0ce72
e71115c
d694176
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0; you may not use this file except in compliance with the Elastic License | ||
| * 2.0. | ||
| */ | ||
|
|
||
| package org.elasticsearch.xpack.esql.qa.mixed; | ||
|
|
||
| import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters; | ||
|
|
||
| import org.elasticsearch.index.IndexMode; | ||
| import org.elasticsearch.index.mapper.MappedFieldType; | ||
| import org.elasticsearch.test.TestClustersThreadFilter; | ||
| import org.elasticsearch.test.cluster.ElasticsearchCluster; | ||
| import org.elasticsearch.xpack.esql.qa.rest.AllSupportedFieldsTestCase; | ||
| import org.junit.ClassRule; | ||
|
|
||
| @ThreadLeakFilters(filters = TestClustersThreadFilter.class) | ||
| public class AllSupportedFieldsIT extends AllSupportedFieldsTestCase { | ||
| @ClassRule | ||
| public static ElasticsearchCluster cluster = Clusters.mixedVersionCluster(); | ||
|
|
||
| public AllSupportedFieldsIT(MappedFieldType.FieldExtractPreference extractPreference, IndexMode indexMode) { | ||
| super(extractPreference, indexMode); | ||
| } | ||
|
|
||
| @Override | ||
| protected String getTestRestCluster() { | ||
| return cluster.getHttpAddresses(); | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0; you may not use this file except in compliance with the Elastic License | ||
| * 2.0. | ||
| */ | ||
|
|
||
| package org.elasticsearch.xpack.esql.qa.multi_node; | ||
|
|
||
| import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters; | ||
|
|
||
| import org.elasticsearch.index.IndexMode; | ||
| import org.elasticsearch.index.mapper.MappedFieldType; | ||
| import org.elasticsearch.test.TestClustersThreadFilter; | ||
| import org.elasticsearch.test.cluster.ElasticsearchCluster; | ||
| import org.elasticsearch.xpack.esql.qa.rest.AllSupportedFieldsTestCase; | ||
| import org.junit.ClassRule; | ||
|
|
||
| @ThreadLeakFilters(filters = TestClustersThreadFilter.class) | ||
| public class AllSupportedFieldsIT extends AllSupportedFieldsTestCase { | ||
nik9000 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| @ClassRule | ||
| public static ElasticsearchCluster cluster = Clusters.testCluster(c -> {}); | ||
|
|
||
| public AllSupportedFieldsIT(MappedFieldType.FieldExtractPreference extractPreference, IndexMode indexMode) { | ||
| super(extractPreference, indexMode); | ||
| } | ||
|
|
||
| @Override | ||
| protected String getTestRestCluster() { | ||
| return cluster.getHttpAddresses(); | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0; you may not use this file except in compliance with the Elastic License | ||
| * 2.0. | ||
| */ | ||
|
|
||
| package org.elasticsearch.xpack.esql.qa.single_node; | ||
|
|
||
| import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters; | ||
|
|
||
| import org.elasticsearch.index.IndexMode; | ||
| import org.elasticsearch.index.mapper.MappedFieldType; | ||
| import org.elasticsearch.test.TestClustersThreadFilter; | ||
| import org.elasticsearch.test.cluster.ElasticsearchCluster; | ||
| import org.elasticsearch.xpack.esql.qa.rest.AllSupportedFieldsTestCase; | ||
| import org.junit.ClassRule; | ||
|
|
||
| @ThreadLeakFilters(filters = TestClustersThreadFilter.class) | ||
| public class AllSupportedFieldsIT extends AllSupportedFieldsTestCase { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same question for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's useful here because it serves as a smoke test for the ground "it works" state. Kind of a self test for the test. |
||
| @ClassRule | ||
| public static ElasticsearchCluster cluster = Clusters.testCluster(c -> {}); | ||
|
|
||
| public AllSupportedFieldsIT(MappedFieldType.FieldExtractPreference extractPreference, IndexMode indexMode) { | ||
| super(extractPreference, indexMode); | ||
| } | ||
|
|
||
| @Override | ||
| protected String getTestRestCluster() { | ||
| return cluster.getHttpAddresses(); | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.