Skip to content

Commit

Permalink
dont print rowids when dumping rtree branches
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxxen committed Sep 17, 2024
1 parent 823dea7 commit dfff590
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spatial/src/spatial/core/index/rtree/rtree_index_pragmas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,11 @@ static void RTreeIndexDumpExecute(ClientContext &context, TableFunctionInput &da
ymin_data[output_idx] = entry.bounds.min.y;
xmax_data[output_idx] = entry.bounds.max.x;
ymax_data[output_idx] = entry.bounds.max.y;
rowid_data[output_idx] = entry.pointer.GetRowId();
if(entry.pointer.IsRowId()) {
rowid_data[output_idx] = entry.pointer.GetRowId();
} else {
FlatVector::SetNull(output.data[2], output_idx, true);
}
output_idx++;
if (output_idx == STANDARD_VECTOR_SIZE) {
// We've filled the result vector, yield!
Expand Down

0 comments on commit dfff590

Please sign in to comment.