MCPcopy Create free account
hub / github.com/cwida/FastLanes / PopulateBiMap

Method PopulateBiMap

src/table/rowgroup.cpp:280–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278 list_column->null_map_arr.push_back(is_null);
279 auto& offsets = list_column->ofs_arr;
280 offsets.push_back((offsets.empty() ? 0 : offsets.back()) + json_value.size());
281 if (is_null) { return; }
282
283 if (col_description.type == DataType::MAP) {
284 auto& struct_col = std::get<up<Struct>>(list_column->child);
285
286 for (auto& [key, value] : json_value.items()) {
287 const auto key_value_struct = nlohmann::json {{"key", key}, {"value", value}};

Callers 1

prepare_rowgroupFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected