Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion x-pack/plugin/esql/compute/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ tasks.named('stringTemplates').configure {
*/
File twoStateInputFile = file("src/main/java/org/elasticsearch/compute/aggregation/X-2State.java.st")
[longProperties].forEach { v1 ->
[intProperties, longProperties, floatProperties, doubleProperties].forEach { v2 ->
[intProperties, longProperties, floatProperties, doubleProperties, bytesRefProperties].forEach { v2 ->
{
var properties = [:]
v1.forEach { k, v -> properties["v1_" + k] = v}
Expand Down Expand Up @@ -945,6 +945,11 @@ tasks.named('stringTemplates').configure {
it.inputFile = valueByTimestampAggregatorInputFile
it.outputFile = "org/elasticsearch/compute/aggregation/${Occurrence}DoubleByTimestampAggregator.java"
}
template {
it.properties = addOccurrence(bytesRefProperties, Occurrence)
it.inputFile = valueByTimestampAggregatorInputFile
it.outputFile = "org/elasticsearch/compute/aggregation/${Occurrence}BytesRefByTimestampAggregator.java"
}
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading