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

Function HasUnresolvedNestedDict

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

Source from the content-addressed store, hash-verified

152namespace {
153
154bool HasUnresolvedNestedDict(const ArrayData& data) {
155 if (data.type->id() == Type::DICTIONARY) {
156 if (data.dictionary == nullptr) {
157 return true;
158 }
159 if (HasUnresolvedNestedDict(*data.dictionary)) {
160 return true;
161 }
162 }
163 for (const auto& child : data.child_data) {
164 if (HasUnresolvedNestedDict(*child)) {
165 return true;
166 }
167 }
168 return false;
169}
170
171} // namespace
172

Callers 1

ReifyDictionaryMethod · 0.85

Calls 1

idMethod · 0.45

Tested by

no test coverage detected