This is an automated email from the ASF dual-hosted git repository.

justinchen pushed a commit to branch dev/1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/dev/1.3 by this push:
     new 73566c6f331 [To dev/1.3] Pipe: Fixed the bug that output.measurements 
must be filled when constructing aggregate-processor (#16238) (#16239)
73566c6f331 is described below

commit 73566c6f331705392f4723097969b99cd6261c22
Author: Caideyipi <[email protected]>
AuthorDate: Fri Aug 22 16:37:44 2025 +0800

    [To dev/1.3] Pipe: Fixed the bug that output.measurements must be filled 
when constructing aggregate-processor (#16238) (#16239)
---
 .../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 dc5a7e4390f..2b4414ed75d 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
@@ -156,8 +156,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(

Reply via email to