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

Method WriteBatchSpaced

cpp/src/parquet/column_writer.cc:1372–1382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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