Skip to content

Commit

Permalink
more neaten
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Nov 27, 2024
1 parent 062f04e commit d8d81a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions tiledb/sm/array_schema/array_schema.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1906,10 +1906,12 @@ void expand_to_tiles_helper(

if (dimptr->var_size()) {
//std::cout << " HELPER DIMIDX " << dimidx << " SKIP VAR-SIZE\n";
continue;
}

if (!dimptr->tile_extent()) {
//std::cout << " HELPER DIMIDX " << dimidx << " SKIP NO EXTENT\n";
continue;
}

switch (dimptr->type()) {
Expand Down
8 changes: 4 additions & 4 deletions tiledb/sm/query/query.cc
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ Status Query::process() {
if (type_ == QueryType::READ) {
auto cd = array_schema_->get_current_domain();
if (!cd->empty()) {
std::cout << "QUERY::PROCESS CHECKING CURDOM\n";
//std::cout << "QUERY::PROCESS CHECKING CURDOM\n";
// See if any data was written outside of the current domain.
bool all_ned_contained_in_current_domain = true;
for (auto& meta : fragment_metadata_) {
Expand All @@ -860,9 +860,9 @@ Status Query::process() {
// Make sure all ranges are contained in the current domain.
for (auto& range : subarray_.ranges_for_dim(d)) {
// XXX TOUCH
std::cout << "QUERY::PROCESS D=" << d << "\n";
std::cout << "QUERY::PROCESS S=" << range.start_as<int64_t>() << "\n";
std::cout << "QUERY::PROCESS E=" << range.end_as<int64_t>() << "\n";
//std::cout << "QUERY::PROCESS D=" << d << "\n";
//std::cout << "QUERY::PROCESS S=" << range.start_as<int64_t>() << "\n";
//std::cout << "QUERY::PROCESS E=" << range.end_as<int64_t>() << "\n";
if (!cd->includes(d, range)) {
throw QueryException(
"A range was set outside of the current domain.");
Expand Down

0 comments on commit d8d81a9

Please sign in to comment.