[fix](autoinc) Fix broker load when target table has autoinc column (#28402)

This commit is contained in:
bobhan1
2023-12-14 18:02:54 +08:00
committed by GitHub
parent c08ab9edc7
commit 01c94a554d
5 changed files with 177 additions and 0 deletions

View File

@ -154,6 +154,7 @@ public class LoadingTaskPlanner {
slotDesc.setIsMaterialized(true);
slotDesc.setColumn(col);
slotDesc.setIsNullable(col.isAllowNull());
slotDesc.setAutoInc(col.isAutoInc());
SlotDescriptor scanSlotDesc = descTable.addSlotDescriptor(scanTupleDesc);
scanSlotDesc.setIsMaterialized(true);
scanSlotDesc.setColumn(col);