Skip to content

Commit b2efdf7

Browse files
committed
Support int, double
1 parent 19d48c4 commit b2efdf7

File tree

20 files changed

+1703
-10
lines changed

20 files changed

+1703
-10
lines changed

x-pack/plugin/esql/compute/build.gradle

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,28 @@ tasks.named('stringTemplates').configure {
669669
it.outputFile = "org/elasticsearch/compute/aggregation/TopIpAggregator.java"
670670
}
671671

672+
File changePointAggregatorInputFile = new File("${projectDir}/src/main/java/org/elasticsearch/compute/aggregation/X-ChangePointAggregator.java.st")
673+
template {
674+
it.properties = intProperties
675+
it.inputFile = changePointAggregatorInputFile
676+
it.outputFile = "org/elasticsearch/compute/aggregation/ChangePointIntAggregator.java"
677+
}
678+
template {
679+
it.properties = longProperties
680+
it.inputFile = changePointAggregatorInputFile
681+
it.outputFile = "org/elasticsearch/compute/aggregation/ChangePointLongAggregator.java"
682+
}
683+
template {
684+
it.properties = floatProperties
685+
it.inputFile = changePointAggregatorInputFile
686+
it.outputFile = "org/elasticsearch/compute/aggregation/ChangePointFloatAggregator.java"
687+
}
688+
template {
689+
it.properties = doubleProperties
690+
it.inputFile = changePointAggregatorInputFile
691+
it.outputFile = "org/elasticsearch/compute/aggregation/ChangePointDoubleAggregator.java"
692+
}
693+
672694
File multivalueDedupeInputFile = file("src/main/java/org/elasticsearch/compute/operator/mvdedupe/X-MultivalueDedupe.java.st")
673695
template {
674696
it.properties = intProperties

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

Lines changed: 77 additions & 0 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/ChangePointFloatAggregator.java

Lines changed: 77 additions & 0 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/ChangePointIntAggregator.java

Lines changed: 77 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)