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

Function HasNestedDict

cpp/src/arrow/ipc/writer.cc:76–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74namespace {
75
76bool HasNestedDict(const ArrayData& data) {
77 if (data.type->id() == Type::DICTIONARY) {
78 return true;
79 }
80 for (const auto& child : data.child_data) {
81 if (HasNestedDict(*child)) {
82 return true;
83 }
84 }
85 return false;
86}
87
88Status GetTruncatedBitmap(int64_t offset, int64_t length,
89 const std::shared_ptr<Buffer>& input, MemoryPool* pool,

Callers 1

WriteDictionariesFunction · 0.85

Calls 1

idMethod · 0.45

Tested by

no test coverage detected