ygerzhedovich commented on code in PR #1232:
URL: https://github.com/apache/ignite-3/pull/1232#discussion_r1006451727
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/SqlQueryProcessor.java:
##########
@@ -468,7 +474,19 @@ private
List<CompletableFuture<AsyncSqlCursor<List<Object>>>> query0(
CompletableFuture<Void> start = new CompletableFuture<>();
+ boolean needStartTx = false;
+
+ for (SqlNode sqlNode : nodes) {
+ if (SqlKind.DML.contains(sqlNode.getKind()) ||
SqlKind.QUERY.contains(sqlNode.getKind())) {
Review Comment:
ok, which type of query we could have here, outside of DML and QUERY?
--
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]