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

Function MakeTableWithOneNullFilledColumn

cpp/src/arrow/table_test.cc:1101–1106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1099INSTANTIATE_TYPED_TEST_SUITE_P(Float64, TestTableToTensorRowMajor, DoubleType);
1100
1101std::shared_ptr<Table> MakeTableWithOneNullFilledColumn(
1102 const std::string& column_name, const std::shared_ptr<DataType>& data_type,
1103 const int length) {
1104 auto array_of_nulls = *MakeArrayOfNull(data_type, length);
1105 return Table::Make(schema({field(column_name, data_type)}), {array_of_nulls});
1106}
1107
1108using TestPromoteTableToSchema = TestTable;
1109

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