Skip to content

Commit 20d9adf

Browse files
committed
Format
1 parent 134a0d4 commit 20d9adf

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/aggregation/OverflowingSumLongAggregator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Replaced by {@link org.elasticsearch.compute.aggregation.SumLongAggregator} since {@code EsqlFeatures#FN_SUM_OVERFLOW_HANDLING}.
1818
* </p>
1919
* <p>
20-
* Can't be removed, as the new aggregator's layout is different.
20+
* Should be kept for as long as we need compatibility with the version this was added on, as the new aggregator's layout is different.
2121
* </p>
2222
*/
2323
@Aggregator(value = { @IntermediateState(name = "sum", type = "LONG"), @IntermediateState(name = "seen", type = "BOOLEAN") })

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
package org.elasticsearch.xpack.esql.plan.logical;
99

10-
import org.elasticsearch.xpack.esql.EsqlTestUtils;
1110
import org.elasticsearch.xpack.esql.core.expression.Alias;
1211
import org.elasticsearch.xpack.esql.core.expression.Expression;
1312
import org.elasticsearch.xpack.esql.core.expression.Literal;

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plugin/DataNodeRequestTests.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@
1111
import org.elasticsearch.common.io.stream.NamedWriteableRegistry;
1212
import org.elasticsearch.common.io.stream.Writeable;
1313
import org.elasticsearch.common.settings.Settings;
14-
import org.elasticsearch.features.NodeFeature;
1514
import org.elasticsearch.index.Index;
1615
import org.elasticsearch.index.IndexMode;
1716
import org.elasticsearch.index.query.TermQueryBuilder;
1817
import org.elasticsearch.index.shard.ShardId;
1918
import org.elasticsearch.search.SearchModule;
2019
import org.elasticsearch.search.internal.AliasFilter;
2120
import org.elasticsearch.test.AbstractWireSerializingTestCase;
22-
import org.elasticsearch.xpack.esql.EsqlTestUtils;
2321
import org.elasticsearch.xpack.esql.analysis.Analyzer;
2422
import org.elasticsearch.xpack.esql.analysis.AnalyzerContext;
2523
import org.elasticsearch.xpack.esql.core.type.EsField;
@@ -40,7 +38,6 @@
4038
import java.util.ArrayList;
4139
import java.util.List;
4240
import java.util.Map;
43-
import java.util.stream.Collectors;
4441

4542
import static org.elasticsearch.xpack.esql.ConfigurationTestUtils.randomConfiguration;
4643
import static org.elasticsearch.xpack.esql.ConfigurationTestUtils.randomTables;

0 commit comments

Comments
 (0)