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

Method WriteBatchSpaced

cpp/src/parquet/column_writer.cc:1373–1383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1371 }
1372
1373 void WriteBatchSpaced(int64_t num_values, const int16_t* def_levels,
1374 const int16_t* rep_levels, const uint8_t* valid_bits,
1375 int64_t valid_bits_offset, const T* values) override {
1376 if (ARROW_PREDICT_FALSE(properties_->content_defined_chunking_enabled())) {
1377 throw ParquetException(
1378 "Content-defined chunking is not supported in WriteBatch() or "
1379 "WriteBatchSpaced(), use WriteArrow() instead.");
1380 }
1381 return WriteBatchSpacedInternal(num_values, def_levels, rep_levels, valid_bits,
1382 valid_bits_offset, values);
1383 }
1384
1385 void WriteBatchSpacedInternal(int64_t num_values, const int16_t* def_levels,
1386 const int16_t* rep_levels, const uint8_t* valid_bits,

Callers 5

TYPED_TESTFunction · 0.80
TESTFunction · 0.80
ASSERT_OK_AND_ASSIGNFunction · 0.80
TEST_FFunction · 0.80

Calls 1

ParquetExceptionFunction · 0.85

Tested by 5

TYPED_TESTFunction · 0.64
TESTFunction · 0.64
ASSERT_OK_AND_ASSIGNFunction · 0.64
TEST_FFunction · 0.64