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

Method Open

cpp/src/parquet/arrow/reconstruct_internal_test.cc:131–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130 protected:
131 Status Open(const NodePtr& group_node, int num_columns) {
132 ARROW_ASSIGN_OR_RAISE(stream_, BufferOutputStream::Create());
133 file_writer_ =
134 ParquetFileWriter::Open(stream_, checked_pointer_cast<GroupNode>(group_node));
135 row_group_writer_ = file_writer_->AppendRowGroup();
136 num_columns_ = num_columns;
137 column_index_ = 0;
138 return Status::OK();
139 }
140
141 void CheckTestedLevels(const LevelVector& levels, int16_t max_level) {
142 // Tests are expected to exercise all possible levels in [0, max_level]

Callers 1

MakeMethod · 0.95

Calls 3

ARROW_ASSIGN_OR_RAISEFunction · 0.70
OKFunction · 0.50
AppendRowGroupMethod · 0.45

Tested by

no test coverage detected