Skip to content

Commit 7989895

Browse files
committed
Format code
1 parent 2aac264 commit 7989895

File tree

9 files changed

+12
-13
lines changed

9 files changed

+12
-13
lines changed

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

Lines changed: 1 addition & 1 deletion
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/LastBytesRefByTimestampAggregator.java

Lines changed: 1 addition & 1 deletion
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/LongDoubleState.java

Lines changed: 1 addition & 2 deletions
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/LongFloatState.java

Lines changed: 1 addition & 2 deletions
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/LongIntState.java

Lines changed: 1 addition & 2 deletions
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/LongLongState.java

Lines changed: 1 addition & 2 deletions
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/java/org/elasticsearch/compute/aggregation/X-2State.java.st

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,11 @@ final class $v1_Type$$v2_Type$State implements AggregatorState {
7777
}
7878

7979
@Override
80+
$if(v2_BytesRef)$
8081
public void close() {
81-
$if(v2_BytesRef)$
8282
Releasables.close(this.v2);
83-
$endif$
8483
}
84+
$else$
85+
public void close() {}
86+
$endif$
8587
}

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/aggregation/X-ValueByTimestampAggregator.java.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public class $Occurrence$$Type$ByTimestampAggregator {
134134
$endif$
135135
private int maxGroupId = -1;
136136

137-
GroupingState(BigArrays bigArrays$if(BytesRef)$,CircuitBreaker breaker$endif$) {
137+
GroupingState(BigArrays bigArrays$if(BytesRef)$, CircuitBreaker breaker$endif$) {
138138
super(bigArrays);
139139
this.bigArrays = bigArrays;
140140
boolean success = false;

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,6 +1365,7 @@ public enum Cap {
13651365
* FIRST and LAST aggregate functions.
13661366
*/
13671367
AGG_FIRST_LAST(Build.current().isSnapshot()),
1368+
AGG_FIRST_LAST_STRING(Build.current().isSnapshot()),
13681369

13691370
/**
13701371
* Support correct counting of skipped shards.

0 commit comments

Comments
 (0)