Skip to content

Commit

Permalink
Allow Query::est_result_size_nullable on remote arrays (#4079)
Browse files Browse the repository at this point in the history
Allow `Query::est_result_size_nullable` on remote arrays

---
TYPE: IMPROVEMENT
DESC: Enable support for estimating result size on nullable, remote arrays
  • Loading branch information
bekadavis9 authored and ihnorton committed May 22, 2023
1 parent 058f21c commit bc69f2d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tiledb/sm/query/query.cc
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,8 @@ Status Query::get_est_result_size_nullable(
"array with no rest client."));
}

return logger_->status(
Status_QueryError("Error in query estimate result size; unimplemented "
"for nullable attributes in remote arrays."));
RETURN_NOT_OK(
rest_client->get_query_est_result_sizes(array_->array_uri(), this));
}

return subarray_.get_est_result_size_nullable(
Expand Down Expand Up @@ -317,9 +316,8 @@ Status Query::get_est_result_size_nullable(
"array with no rest client."));
}

return logger_->status(
Status_QueryError("Error in query estimate result size; unimplemented "
"for nullable attributes in remote arrays."));
RETURN_NOT_OK(
rest_client->get_query_est_result_sizes(array_->array_uri(), this));
}

return subarray_.get_est_result_size_nullable(
Expand Down

0 comments on commit bc69f2d

Please sign in to comment.