Skip to content

[Rust] Build error may be related to parquet-format 2.7.0: error[E0063]: missing fields file_offset, ordinal, total_compressed_size in initializer of RowGroup  #27089

@asfimport

Description

@asfimport

Copied from https://github.com/apache/arrow/runs/1668643801 AMD64 Debian 10 Rust stable build libraries


Compiling parquet v3.0.0-SNAPSHOT (/__w/arrow/arrow/rust/parquet) 
 154 Compiling arrow v3.0.0-SNAPSHOT (/__w/arrow/arrow/rust/arrow) 
 155 Compiling parquet-format v2.7.0 
 156 Compiling arrow-integration-testing v3.0.0-SNAPSHOT (/__w/arrow/arrow/rust/integration-testing) 
 157 Compiling arrow-flight v3.0.0-SNAPSHOT (/__w/arrow/arrow/rust/arrow-flight) 
 158error[E0063]: missing fields `file_offset`, `ordinal`, `total_compressed_size` in initializer of `RowGroup` 
 159 --> parquet/src/file/metadata.rs:262:9 
 160 | 
 161262 | RowGroup { 
 162 | ^^^^^^^^ missing `file_offset`, `ordinal`, `total_compressed_size` 
 163
 164error[E0063]: missing field `bloom_filter_offset` in initializer of `ColumnMetaData` 
 165 --> parquet/src/file/metadata.rs:501:31 
 166 | 
 167501 | let column_metadata = ColumnMetaData { 
 168 | ^^^^^^^^^^^^^^ missing `bloom_filter_offset` 
 169
 170error[E0063]: missing fields `crypto_metadata`, `encrypted_column_metadata` in initializer of `ColumnChunk` 
 171 --> parquet/src/file/metadata.rs:517:9 
 172 | 
 173517 | ColumnChunk { 
 174 | ^^^^^^^^^^^ missing `crypto_metadata`, `encrypted_column_metadata` 
 175
 176error[E0063]: missing fields `encryption_algorithm`, `footer_signing_key_metadata` in initializer of `parquet_format::FileMetaData` 
 177 --> parquet/src/file/writer.rs:178:29 
 178 | 
 179178 | let file_metadata = parquet::FileMetaData { 
 180 | ^^^^^^^^^^^^^^^^^^^^^ missing `encryption_algorithm`, `footer_signing_key_metadata` 
 181
 182error: aborting due to 4 previous errors 
 183
 184For more information about this error, try `rustc --explain E0063`. 
 185error: could not compile `parquet`

 

The merged commit c4ee536 also failed with same error.

I can't reproduce this problem with cargo build --all-targets on my local host with PR #9133

[~chaosun]  [~nevi_me] help!

Reporter: Qingyou Meng / @mqy
Assignee: Neville Dipale / @nevi-me

Related issues:

Note: This issue was originally created as ARROW-11184. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions