lowka commented on code in PR #4221: URL: https://github.com/apache/ignite-3/pull/4221#discussion_r1722893518
########## modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/PrepareServiceImpl.java: ########## @@ -238,26 +241,102 @@ public CompletableFuture<QueryPlan> prepareAsync( .parameters(Commons.arrayToMap(operationContext.parameters())) .build(); - result = prepareAsync0(parsedResult, planningContext); + QueryTransactionContext txContext = operationContext.txContext(); + + // Validate statement + CompletableFuture<ValidStatement> validFut = validateStatement(parsedResult, planningContext); + + // Try optimize to fast + CompletableFuture<FastOptimizationResult> plannedOrValidated = 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org