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

Function AssertVarLengthBinary

cpp/src/parquet/encoder.cc:273–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273void AssertVarLengthBinary(const ::arrow::Array& values) {
274 if (!::arrow::is_base_binary_like(values.type_id()) &&
275 !::arrow::is_binary_view_like(values.type_id())) {
276 throw ParquetException("Only binary-like data supported");
277 }
278}
279
280template <>
281inline void PlainEncoder<ByteArrayType>::Put(const ::arrow::Array& values) {

Callers 2

PutMethod · 0.85
PutDictionaryMethod · 0.85

Calls 4

is_base_binary_likeFunction · 0.85
is_binary_view_likeFunction · 0.85
ParquetExceptionFunction · 0.85
type_idMethod · 0.45

Tested by

no test coverage detected