Skip to content

Commit

Permalink
Merge pull request #399 from Maxxen/dev
Browse files Browse the repository at this point in the history
Dont print rowids when dumping rtree branches
  • Loading branch information
Maxxen authored Sep 17, 2024
2 parents 43e84f2 + dfff590 commit 8ead3d8
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 8ead3d8

Please sign in to comment.