MCPcopy Create free account
hub / github.com/apache/arrow / AddDictionaryDelta

Method AddDictionaryDelta

cpp/src/arrow/ipc/dictionary.cc:263–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263Status DictionaryMemo::AddDictionaryDelta(int64_t id,
264 const std::shared_ptr<ArrayData>& dictionary) {
265 ARROW_ASSIGN_OR_RAISE(auto it, impl_->FindDictionary(id));
266 it->second.push_back(dictionary);
267 return Status::OK();
268}
269
270Result<bool> DictionaryMemo::AddOrReplaceDictionary(
271 int64_t id, const std::shared_ptr<ArrayData>& dictionary) {

Callers 1

ReadDictionaryFunction · 0.80

Calls 2

push_backMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected