diff --git a/tiledb/cc/query.cc b/tiledb/cc/query.cc index 6be4ad6a81..d8a8cc83f1 100644 --- a/tiledb/cc/query.cc +++ b/tiledb/cc/query.cc @@ -62,6 +62,8 @@ void init_query(py::module &m) { .def("fragment_uri", &Query::fragment_uri) + .def("fragment_timestamp_range", &Query::fragment_timestamp_range) + .def("query_status", &Query::query_status) .def("set_condition", &Query::set_condition) @@ -71,13 +73,13 @@ void init_query(py::module &m) { // uint64_t))&Query::set_data_buffer); .def("set_data_buffer", - [](Query &q, std::string name, py::array a, uint32_t buff_size) { - q.set_data_buffer(name, const_cast(a.data()), buff_size); + [](Query &q, std::string name, py::array a, uint64_t nelements) { + QueryExperimental::set_data_buffer(q, name, const_cast(a.data()), nelements); }) .def("set_offsets_buffer", - [](Query &q, std::string name, py::array a, uint32_t buff_size) { - q.set_offsets_buffer(name, (uint64_t *)(a.data()), buff_size); + [](Query &q, std::string name, py::array a, uint64_t nelements) { + q.set_offsets_buffer(name, (uint64_t *)(a.data()), nelements); }) .def("set_subarray", @@ -86,8 +88,8 @@ void init_query(py::module &m) { }) .def("set_validity_buffer", - [](Query &q, std::string name, py::array a, uint32_t buff_size) { - q.set_validity_buffer(name, (uint8_t *)(a.data()), buff_size); + [](Query &q, std::string name, py::array a, uint64_t nelements) { + q.set_validity_buffer(name, (uint8_t *)(a.data()), nelements); }) .def("_submit", &Query::submit, py::call_guard())