This is an automated email from the ASF dual-hosted git repository. hui pushed a commit to branch lmh/aggrOpRefactor in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 996901eb53fbd87a48721f6f8cb5519f88e448e6 Author: Minghui Liu <liuminghui...@foxmail.com> AuthorDate: Mon Jul 4 20:16:12 2022 +0800 add error message --- .../mpp/execution/operator/source/SeriesAggregationScanOperator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/source/SeriesAggregationScanOperator.java b/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/source/SeriesAggregationScanOperator.java index bd46896174..06b4878d2b 100644 --- a/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/source/SeriesAggregationScanOperator.java +++ b/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/source/SeriesAggregationScanOperator.java @@ -109,7 +109,8 @@ public class SeriesAggregationScanOperator implements DataSourceOperator { null, ascending); } else { - throw new UnsupportedOperationException(""); + throw new IllegalArgumentException( + "The seriesPath should be MeasurementPath or AlignedPath."); } this.aggregators = aggregators;