korlov42 commented on a change in pull request #522:
URL: https://github.com/apache/ignite-3/pull/522#discussion_r783916157
##########
File path:
modules/client-handler/src/main/java/org/apache/ignite/client/handler/JdbcQueryEventHandlerImpl.java
##########
@@ -299,16 +299,16 @@ private QuerySingleResult
createJdbcResult(SqlCursor<List<?>> cur, QueryExecuteR
case EXPLAIN:
case QUERY:
return new QuerySingleResult(cursorId, fetch, !hasNext);
- case DML:
- case DDL: {
+ case DML: {
if (!validateDmlResult(fetch, hasNext)) {
return new QuerySingleResult(Response.STATUS_FAILED,
"Unexpected result for DML query [" +
req.sqlQuery() + "].");
}
return new QuerySingleResult(cursorId, (Long)
fetch.get(0).get(0));
- }
- default:
+ } case DDL: {
Review comment:
fixed
--
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]