Skip to content

Commit

Permalink
[BugFix] Fix incorrect slot id for auto increment column in plan when…
Browse files Browse the repository at this point in the history
… loading

Signed-off-by: srlch <[email protected]>
  • Loading branch information
srlch committed Feb 26, 2025
1 parent 9fac488 commit c2567ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public OlapTableSink(OlapTable dstTable, TupleDescriptor tupleDescriptor, List<L
for (int i = 0; i < this.tupleDescriptor.getSlots().size(); ++i) {
SlotDescriptor slot = this.tupleDescriptor.getSlots().get(i);
if (slot.getColumn().isAutoIncrement()) {
this.autoIncrementSlotId = i;
this.autoIncrementSlotId = slot.getId().asInt();
break;
}
}
Expand Down

0 comments on commit c2567ac

Please sign in to comment.