You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2021/12/15 06:14:51 UTC

[iotdb] 01/01: rethrow other exceptions in query main thread

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

jackietien pushed a commit to branch Rethrow
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 8821291847eb8cf5c88bc3c55d87126a9f8b369a
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Wed Dec 15 14:14:10 2021 +0800

    rethrow other exceptions in query main thread
---
 .../iotdb/db/query/dataset/RawQueryDataSetWithoutValueFilter.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/src/main/java/org/apache/iotdb/db/query/dataset/RawQueryDataSetWithoutValueFilter.java b/server/src/main/java/org/apache/iotdb/db/query/dataset/RawQueryDataSetWithoutValueFilter.java
index 2241a64..a6c928e 100644
--- a/server/src/main/java/org/apache/iotdb/db/query/dataset/RawQueryDataSetWithoutValueFilter.java
+++ b/server/src/main/java/org/apache/iotdb/db/query/dataset/RawQueryDataSetWithoutValueFilter.java
@@ -458,6 +458,8 @@ public class RawQueryDataSetWithoutValueFilter extends QueryDataSet
         throw (IOException) exceptionBatchData.getThrowable();
       } else if (exceptionBatchData.getThrowable() instanceof RuntimeException) {
         throw (RuntimeException) exceptionBatchData.getThrowable();
+      } else {
+        throw new RuntimeException("some other unknown errors!");
       }
 
     } else { // there are more batch data in this time series queue