korlov42 commented on code in PR #3559:
URL: https://github.com/apache/ignite-3/pull/3559#discussion_r1558929890


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/RehashingPartitionExtractor.java:
##########
@@ -39,6 +39,8 @@ public RehashingPartitionExtractor(
     /** {@inheritDoc} */
     @Override
     public int partition(RowT row) {
+        assert fields.length != 0 : "Unexpected partition calculation call";

Review Comment:
   we should not create partition extractor with empty fields



-- 
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]

Reply via email to