Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hououou committed Mar 22, 2024
1 parent 9180039 commit f9126d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/storage/store/var_list_column.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@ void VarListColumn::prepareCommitForChunk(Transaction* transaction, node_group_i
offsetColumnChunk->setValue<offset_t>(dataColumnSize + listEndOffset, dstOffsets[i]);
offsetColumnChunk->getNullChunk()->setNull(dstOffsets[i], isNull);
}
auto offsetListChunk =
ku_dynamic_cast<ColumnChunk*, VarListColumnChunk*>(offsetColumnChunk.get());
offsetListChunk->getSizeColumnChunk()->setNumValues(offsetColumnChunk->getNumValues());
Column::append(offsetColumnChunk.get(), nodeGroupIdx);
}
}
Expand Down

0 comments on commit f9126d7

Please sign in to comment.