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

Method TestLargeBatch

cpp/src/arrow/flight/test_definitions.cc:818–824  ·  view source on GitHub ↗

Ensure the server is configured to allow large messages by default Tests a 32 MiB batch

Source from the content-addressed store, hash-verified

816// Ensure the server is configured to allow large messages by default
817// Tests a 32 MiB batch
818void DoPutTest::TestLargeBatch() {
819 auto descr = FlightDescriptor::Path({"large-batches"});
820 auto schema = ExampleLargeSchema();
821 RecordBatchVector batches;
822 ASSERT_OK(ExampleLargeBatches(&batches));
823 CheckDoPut(descr, schema, batches);
824}
825
826void DoPutTest::TestSizeLimit() {
827 const int64_t size_limit = 4096;

Callers

nothing calls this directly

Calls 3

ExampleLargeSchemaFunction · 0.85
ExampleLargeBatchesFunction · 0.85
PathFunction · 0.70

Tested by

no test coverage detected