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

Method InitSchema

cpp/src/parquet/metadata.cc:1026–1032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024 std::shared_ptr<InternalFileDecryptor> file_decryptor_;
1025
1026 void InitSchema() {
1027 if (metadata_->schema.empty()) {
1028 throw ParquetException("Empty file schema (no root)");
1029 }
1030 schema_.Init(schema::Unflatten(metadata_->schema,
1031 /*max_depth=*/properties_.schema_depth_limit()));
1032 }
1033
1034 void InitColumnOrders() {
1035 // update ColumnOrder

Callers 1

FinishMethod · 0.80

Calls 4

ParquetExceptionFunction · 0.85
UnflattenFunction · 0.85
emptyMethod · 0.45
InitMethod · 0.45

Tested by

no test coverage detected