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

Function IsFixedWidthLike

cpp/src/arrow/util/fixed_width_internal.cc:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33using ::arrow::internal::checked_cast;
34
35bool IsFixedWidthLike(const ArraySpan& source, bool force_null_count,
36 bool exclude_bool_and_dictionary) {
37 return IsFixedWidthLike(
38 source, force_null_count, [exclude_bool_and_dictionary](const DataType& type) {
39 return !exclude_bool_and_dictionary ||
40 (type.id() != Type::DICTIONARY && type.id() != Type::BOOL);
41 });
42}
43
44static int64_t FixedWidthInBytesFallback(const FixedSizeListType& fixed_size_list_type) {
45 auto* fsl = &fixed_size_list_type;

Callers 1

Calls 1

idMethod · 0.45

Tested by

no test coverage detected