diff --git a/plugin/trino-exchange-filesystem/src/main/java/io/trino/plugin/exchange/filesystem/FileSystemExchange.java b/plugin/trino-exchange-filesystem/src/main/java/io/trino/plugin/exchange/filesystem/FileSystemExchange.java index 77eeeb251d64..f5c386fafab3 100644 --- a/plugin/trino-exchange-filesystem/src/main/java/io/trino/plugin/exchange/filesystem/FileSystemExchange.java +++ b/plugin/trino-exchange-filesystem/src/main/java/io/trino/plugin/exchange/filesystem/FileSystemExchange.java @@ -183,7 +183,6 @@ public void allRequiredSinksFinished() return; } verify(noMoreSinks, "noMoreSinks is expected to be set"); - verify(finishedSinks.keySet().containsAll(allSinks), "all sinks are expected to be finished"); // input is ready, create exchange source handles exchangeSourceHandlesCreationStarted = true; exchangeSourceHandlesCreationFuture = stats.getCreateExchangeSourceHandles().record(this::createExchangeSourceHandles);