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 04857b0 commit efd9218Copy full SHA for efd9218
components/core/src/clp_s/JsonConstructor.cpp
@@ -97,6 +97,8 @@ void JsonConstructor::construct_in_order() {
97
98
std::vector<bsoncxx::document::value> results;
99
auto finalize_chunk = [&](bool open_new_writer) {
100
+ // Add one to last_idx to match clp's behaviour of having the end index be exclusive
101
+ ++last_idx;
102
writer.close();
103
std::string new_file_name = src_path.string() + "_" + std::to_string(first_idx) + "_"
104
+ std::to_string(last_idx) + ".jsonl";
0 commit comments