lowka commented on code in PR #1798:
URL: https://github.com/apache/ignite-3/pull/1798#discussion_r1146644463


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/AsyncSqlCursorImpl.java:
##########
@@ -91,4 +96,18 @@ public CompletableFuture<BatchedResult<T>> 
requestNextAsync(int rows) {
     public CompletableFuture<Void> closeAsync() {
         return dataCursor.closeAsync();
     }
+
+    private static Throwable unwrapRemoteCause(@NotNull Throwable t) {

Review Comment:
   @korlov42 After pushing modification to data nodes all constrain violation 
errors have become RemoteExceptions that are wrapped in 
RemoteException/CompletedException. For example, the user code never gets an 
errorCode = DUPLICATE_KEYS_ERR.



-- 
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