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

Method TestDoGetDicts

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

Source from the content-addressed store, hash-verified

262 CheckDoGet(descr, expected_batches, check_endpoints);
263}
264void DataTest::TestDoGetDicts() {
265 auto descr = FlightDescriptor::Path({"examples", "dicts"});
266 RecordBatchVector expected_batches;
267 ASSERT_OK(ExampleDictBatches(&expected_batches));
268
269 auto check_endpoints = [](const std::vector<FlightEndpoint>& endpoints) {
270 // One endpoint in the example FlightInfo
271 ASSERT_EQ(1, endpoints.size());
272 ASSERT_EQ(Ticket{"ticket-dicts-1"}, endpoints[0].ticket);
273 };
274
275 CheckDoGet(descr, expected_batches, check_endpoints);
276}
277// Ensure clients are configured to allow large messages by default
278// Tests a 32 MiB batch
279void DataTest::TestDoGetLargeBatch() {

Callers

nothing calls this directly

Calls 3

ExampleDictBatchesFunction · 0.85
PathFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected