Skip to content

Commit

Permalink
Dense reader: adding num tiles to stats. (#3434) (#3436)
Browse files Browse the repository at this point in the history
Per @stavrospapadopoulos's request, adding number of tiles to the stats
for dense reads.

---
TYPE: IMPROVEMENT
DESC: Dense reader: adding num tiles to stats.

Co-authored-by: KiterLuc <67824247+KiterLuc@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and KiterLuc committed Aug 11, 2022
1 parent 34e5dbc commit 8a20f8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tiledb/sm/query/readers/dense_reader.cc
Expand Up @@ -274,6 +274,7 @@ Status DenseReader::dense_read() {

// Compute subarrays for each tile.
const auto& tile_coords = subarray.tile_coords();
stats_->add_counter("num_tiles", tile_coords.size());
TileSubarrays tile_subarrays{tile_coords.size()};
const auto& layout =
layout_ == Layout::GLOBAL_ORDER ? array_schema_.cell_order() : layout_;
Expand Down

0 comments on commit 8a20f8f

Please sign in to comment.