Yuan Tian created IOTDB-3540:
--------------------------------

             Summary: Compare and rethrow the original expected expection in 
ParallelRequestDelegate
                 Key: IOTDB-3540
                 URL: https://issues.apache.org/jira/browse/IOTDB-3540
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Yuan Tian
            Assignee: Eric Pai


Currently, we treat all exception in `resultFutures.get(i).get` of 
ParallelRequestDelegate as abnormal query failed. However, in some test cases, 
we expect specified exceptoion to happen. In such case, we should compare 
whether each exception from all connection is same and then rethrow it instead 
of only catching one of these, cancel other future and wrap it as `new 
SQLException(String.format("Waiting for query results of %s failed", 
getEndpoints().get(i)), e)`



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to