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:50 UTC

[iotdb] branch Rethrow created (now 8821291)

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

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


      at 8821291  rethrow other exceptions in query main thread

This branch includes the following new commits:

     new 8821291  rethrow other exceptions in query main thread

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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

Posted by ja...@apache.org.
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