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

Function HasValidityBitmap

cpp/src/arrow/ipc/metadata_internal.cc:109–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109bool HasValidityBitmap(Type::type type_id, MetadataVersion version) {
110 // In V4, null types have no validity bitmap
111 // In V5 and later, null and union types have no validity bitmap
112 return (version < MetadataVersion::V5)
113 ? (type_id != Type::NA)
114 : ::arrow::internal::may_have_validity_bitmap(type_id);
115}
116
117namespace {
118

Callers 2

LoadCommonMethod · 0.70
VisitArrayMethod · 0.70

Calls 1

may_have_validity_bitmapFunction · 0.85

Tested by

no test coverage detected