This is an automated email from the ASF dual-hosted git repository.
justinchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 6349dfed1e4 Pipe: Fixed the bug that output.measurements must be
filled when constructing aggregate-processor (#16238)
6349dfed1e4 is described below
commit 6349dfed1e499bf288a22f23db1b1c8b2e9cc19d
Author: Caideyipi <[email protected]>
AuthorDate: Fri Aug 22 16:37:32 2025 +0800
Pipe: Fixed the bug that output.measurements must be filled when
constructing aggregate-processor (#16238)
---
.../apache/iotdb/db/pipe/processor/aggregate/AggregateProcessor.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/processor/aggregate/AggregateProcessor.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/processor/aggregate/AggregateProcessor.java
index 1119deaf712..d16c404e422 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/processor/aggregate/AggregateProcessor.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/processor/aggregate/AggregateProcessor.java
@@ -162,8 +162,9 @@ public class AggregateProcessor implements PipeProcessor {
PROCESSOR_OUTPUT_DATABASE_KEY,
PROCESSOR_OUTPUT_DATABASE_DEFAULT_VALUE))
.validate(
arg ->
- Arrays.stream(((String) arg).replace(" ", "").split(","))
- .allMatch(this::isLegalMeasurement),
+ ((String) arg).isEmpty()
+ || Arrays.stream(((String) arg).replace(" ",
"").split(","))
+ .allMatch(this::isLegalMeasurement),
String.format(
"The output measurements %s contains illegal measurements, the
measurements must be the last level of a legal path",
parameters.getStringOrDefault(