sk0x50 commented on a change in pull request #73:
URL: https://github.com/apache/ignite-3/pull/73#discussion_r609789094
##########
File path:
modules/schema/src/main/java/org/apache/ignite/internal/schema/RowAssembler.java
##########
@@ -338,6 +340,17 @@ public void appendBitmask(BitSet bitSet) {
* @return Serialized row.
*/
public byte[] build() {
+ if (schema.keyColumns() == curCols)
+ throw new IllegalStateException("Key column missed: colIdx=" +
curCol);
+ else {
+ if (curCol == 0)
+ flags |= BinaryRow.RowFlags.NULL_VALUE;
+ else if (schema.valueColumns().length() != curCol)
+ throw new IllegalStateException("Value column missed: colIdx=" +
curCol);
Review comment:
Well, it seems that we need IGNITE-14495 to be merged first.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]