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

Method OutOfBoundsListViewOffset

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

Source from the content-addressed store, hash-verified

855
856 template <typename offset_type>
857 Status OutOfBoundsListViewOffset(int64_t slot, int64_t offset_limit) {
858 const auto* offsets = data.GetValues<offset_type>(1);
859 const auto offset = offsets[slot];
860 return Status::Invalid("Offset invariant failure: offset for slot ", slot,
861 " out of bounds. Expected ", offset,
862 " to be at least 0 and less than ", offset_limit);
863 }
864
865 template <typename offset_type>
866 Status OutOfBoundsListViewSize(int64_t slot, int64_t offset_limit) {

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected