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

Method GetSchema

cpp/src/parquet/stream_reader_test.cc:979–989  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

977 void TearDown() override { reader_ = StreamReader{}; }
978
979 std::shared_ptr<schema::GroupNode> GetSchema() {
980 schema::NodeVector fields;
981 fields.push_back(schema::PrimitiveNode::Make("row_group_number", Repetition::REQUIRED,
982 Type::INT32, ConvertedType::UINT_16));
983
984 fields.push_back(schema::PrimitiveNode::Make("row_number", Repetition::REQUIRED,
985 Type::INT64, ConvertedType::UINT_64));
986
987 return std::static_pointer_cast<schema::GroupNode>(
988 schema::GroupNode::Make("schema", Repetition::REQUIRED, fields));
989 }
990
991 void CreateTestFile() {
992 PARQUET_ASSIGN_OR_THROW(auto outfile,

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
MakeFunction · 0.70

Tested by

no test coverage detected