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

Method ValidateListView

cpp/src/arrow/array/validate.cc:758–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

756
757 template <typename ListViewType>
758 Status ValidateListView(const ListViewType& type) {
759 const ArrayData& values = *data.child_data[0];
760 const Status child_valid = RecurseInto(values);
761 if (!child_valid.ok()) {
762 return Status::Invalid("List-view child array is invalid: ",
763 child_valid.ToString());
764 }
765 // For list-views, sizes are validated together with offsets.
766 return ValidateOffsetsAndSizes(type, /*offset_limit=*/values.length);
767 }
768
769 template <typename RunEndCType>
770 Status ValidateRunEndEncoded(const RunEndEncodedType& type) {

Callers

nothing calls this directly

Calls 3

InvalidFunction · 0.50
okMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected