Skip to content

Commit 717536b

Browse files
[CI] Auto commit changes from spotless
1 parent 3fea0fa commit 717536b

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/aggregate/SampleTests.java

+6-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ public static Iterable<Object[]> parameters() {
5656
MultiRowTestCaseSupplier.cartesianPointCases(1, 1000, MultiRowTestCaseSupplier.IncludingAltitude.NO),
5757
MultiRowTestCaseSupplier.geoShapeCasesWithoutCircle(1, 100, MultiRowTestCaseSupplier.IncludingAltitude.NO),
5858
MultiRowTestCaseSupplier.cartesianShapeCasesWithoutCircle(1, 100, MultiRowTestCaseSupplier.IncludingAltitude.NO)
59-
).flatMap(List::stream)
59+
)
60+
.flatMap(List::stream)
6061
.map(fieldCaseSupplier -> makeSupplier(fieldCaseSupplier, limitCaseSupplier))
6162
.collect(Collectors.toCollection(() -> suppliers));
6263
}
@@ -68,8 +69,10 @@ protected Expression build(Source source, List<Expression> args) {
6869
return new Sample(source, args.get(0), args.get(1));
6970
}
7071

71-
private static TestCaseSupplier makeSupplier(TestCaseSupplier.TypedDataSupplier fieldSupplier, TestCaseSupplier.TypedDataSupplier limitCaseSupplier
72-
) {
72+
private static TestCaseSupplier makeSupplier(
73+
TestCaseSupplier.TypedDataSupplier fieldSupplier,
74+
TestCaseSupplier.TypedDataSupplier limitCaseSupplier
75+
) {
7376
return new TestCaseSupplier(fieldSupplier.name(), List.of(fieldSupplier.type(), limitCaseSupplier.type()), () -> {
7477
var fieldTypedData = fieldSupplier.get();
7578
var limitTypedData = limitCaseSupplier.get().forceLiteral();

0 commit comments

Comments
 (0)