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 <[email protected]>
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

Reply via email to