ygerzhedovich commented on code in PR #1114:
URL: https://github.com/apache/ignite-3/pull/1114#discussion_r978324779
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/api/SessionImpl.java:
##########
@@ -333,9 +334,9 @@ public static <T> T await(CompletionStage<T> stage) {
try {
return stage.toCompletableFuture().get();
} catch (ExecutionException e) {
- throw new IgniteException(e.getCause());
+ throw new IgniteException(OPERATION_INTERRUPTED_ERR, e.getCause());
Review Comment:
I think we should use SqlException here and below
--
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]