Skip to content

Commit

Permalink
Fix data type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
royi-luo committed Feb 12, 2025
1 parent 8aee93d commit 25be8c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/storage/store/chunked_node_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ ChunkedNodeGroup::ChunkedNodeGroup(MemoryManager& mm, ChunkedNodeGroup& base,
KU_ASSERT(baseColumnID < chunks.size());
chunks[baseColumnID] = base.moveColumnChunk(i);
enableCompression = chunks[baseColumnID]->isCompressionEnabled();
KU_ASSERT(chunks[baseColumnID]->getDataType() == columnTypes[baseColumnID]);
KU_ASSERT(chunks[baseColumnID]->getDataType().getPhysicalType() ==
columnTypes[baseColumnID].getPhysicalType());
}

for (column_id_t i = 0; i < columnTypes.size(); ++i) {
Expand Down

0 comments on commit 25be8c3

Please sign in to comment.