We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14cc0b2 commit 94de2d8Copy full SHA for 94de2d8
tiledb/sm/query/writers/global_order_writer.cc
@@ -1438,7 +1438,9 @@ uint64_t GlobalOrderWriter::num_tiles_per_row() {
1438
// skip first dim. todo Explain
1439
auto dim{array_schema_.dimension_ptr(d)};
1440
auto dim_dom = dim->domain();
1441
- ret *= dim->domain_range(dim_dom);
+ ret *= dim->domain_range(dim_dom) / dim->tile_extent().rvalue_as<int32_t>();
1442
+ // todo consider cases where the above calculation has a remainder. Also
1443
+ // consider other types
1444
}
1445
return ret;
1446
0 commit comments