| 2198 | virtual void SetUp() {} |
| 2199 | |
| 2200 | ::arrow::Status MaybeSetParquetSchema(const NodePtr& column) { |
| 2201 | descriptor_.reset(new SchemaDescriptor()); |
| 2202 | manifest_.reset(new SchemaManifest()); |
| 2203 | descriptor_->Init(GroupNode::Make("root", Repetition::REQUIRED, {column})); |
| 2204 | return SchemaManifest::Make(descriptor_.get(), |
| 2205 | std::shared_ptr<const ::arrow::KeyValueMetadata>(), |
| 2206 | ArrowReaderProperties(), manifest_.get()); |
| 2207 | } |
| 2208 | void SetParquetSchema(const NodePtr& column) { |
| 2209 | ASSERT_OK(MaybeSetParquetSchema(column)); |
| 2210 | } |
nothing calls this directly
no test coverage detected