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

Function MakeSimpleTable

cpp/src/parquet/arrow/test_util.h:444–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444std::shared_ptr<::arrow::Table> MakeSimpleTable(
445 const std::shared_ptr<ChunkedArray>& values, bool nullable) {
446 auto schema = ::arrow::schema({::arrow::field("col", values->type(), nullable)});
447 return ::arrow::Table::Make(schema, {values});
448}
449
450std::shared_ptr<::arrow::Table> MakeSimpleTable(const std::shared_ptr<Array>& values,
451 bool nullable) {

Callers 9

RoundTripSingleColumnMethod · 0.85
PrepareListTableMethod · 0.85
TYPED_TESTFunction · 0.85
TEST_FFunction · 0.85
GenerateDataMethod · 0.85
TEST_PFunction · 0.85
TESTFunction · 0.85

Calls 4

fieldFunction · 0.70
schemaFunction · 0.50
MakeFunction · 0.50
typeMethod · 0.45

Tested by

no test coverage detected