xtern commented on code in PR #5032:
URL: https://github.com/apache/ignite-3/pull/5032#discussion_r1919741381
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ddl/DdlCommandHandler.java:
##########
@@ -88,8 +88,15 @@ public DdlCommandHandler(
this.partitionIdleSafeTimePropagationPeriodMsSupplier =
partitionIdleSafeTimePropagationPeriodMsSupplier;
}
- /** Handles ddl commands. */
- public CompletableFuture<Boolean> handle(CatalogCommand cmd) {
+ /**
+ * Handles ddl commands.
+ *
+ * @param cmd Catalog command.
+ * @return Future representing pending completion of the operation. If the
command execution resulted in a modification of the catalog,
+ * the result will be the activation timestamp of the new catalog
version, if the command did not result in a change of the
+ * catalog, the result will be {@code null}.
+ */
+ public CompletableFuture<Long> handle(CatalogCommand cmd) {
Review Comment:
Fixed, thanks
##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/framework/ImplicitTxContext.java:
##########
@@ -26,10 +26,12 @@
/** Context that always creates implicit transaction. */
public class ImplicitTxContext implements QueryTransactionContext {
- public static final QueryTransactionContext INSTANCE = new
ImplicitTxContext();
-
private final HybridTimestampTracker observableTimeTracker =
HybridTimestampTracker.atomicTracker(null);
+ public static ImplicitTxContext instance() {
Review Comment:
Done.
--
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]