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

Function MakeTableWithOneNullFilledColumn

cpp/src/arrow/table_test.cc:523–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523std::shared_ptr<Table> MakeTableWithOneNullFilledColumn(
524 const std::string& column_name, const std::shared_ptr<DataType>& data_type,
525 const int length) {
526 auto array_of_nulls = *MakeArrayOfNull(data_type, length);
527 return Table::Make(schema({field(column_name, data_type)}), {array_of_nulls});
528}
529
530using TestPromoteTableToSchema = TestTable;
531

Callers 1

TEST_FFunction · 0.85

Calls 4

MakeArrayOfNullFunction · 0.85
MakeFunction · 0.70
schemaFunction · 0.70
fieldFunction · 0.70

Tested by

no test coverage detected