lowka commented on code in PR #6374: URL: https://github.com/apache/ignite-3/pull/6374#discussion_r2272428520
########## modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/pruning/PartitionPruningMetadata.java: ########## @@ -40,6 +42,11 @@ public class PartitionPruningMetadata implements Serializable { /** Constructor. */ public PartitionPruningMetadata(Long2ObjectMap<PartitionPruningColumns> data) { + for (long id : data.keySet()) { + if (id == -1) { + throw new IllegalArgumentException("sourceId has not been set: " + data); Review Comment: Where did you get stack trace from? ########## modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/pruning/PartitionPruningMetadata.java: ########## @@ -40,6 +42,11 @@ public class PartitionPruningMetadata implements Serializable { /** Constructor. */ public PartitionPruningMetadata(Long2ObjectMap<PartitionPruningColumns> data) { + for (long id : data.keySet()) { + if (id == -1) { + throw new IllegalArgumentException("sourceId has not been set: " + data); Review Comment: Where did you get this stack trace from? -- 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