JackieTien97 opened a new pull request, #15980:
URL: https://github.com/apache/iotdb/pull/15980

   This pull request refines exception handling in the `QueryExecution` class 
to improve code clarity and robustness. The most important changes include 
restructuring the `dealWithException` method to simplify logic and adding a 
missing closing brace to ensure proper method definition.
   
   ### Exception handling improvements:
   * 
[`iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/QueryExecution.java`](diffhunk://#diff-2182644dc6b22776638bf52c6e05a478c1a0d73789666785ab685ec1c0ad4a14L465-R470):
 Refactored the `dealWithException` method to streamline the handling of 
failure statuses and exceptions, improving readability and reducing redundant 
code.
   
   ### Code correctness:
   * 
[`iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/QueryExecution.java`](diffhunk://#diff-2182644dc6b22776638bf52c6e05a478c1a0d73789666785ab685ec1c0ad4a14R485):
 Added a missing closing brace in the `dealWithException` method to ensure 
proper method definition and prevent syntax errors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to