Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11184

[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`

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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 https://github.com/apache/arrow/commit/c4ee53626f975f9c005cbef234552f8fe457d0dc also failed with same error.

      I can't reproduce this problem with `cargo build --all-targets` on my local host with PR https://github.com/apache/arrow/pull/9133

      chaosun  nevi_me help!

      Attachments

        Issue Links

          Activity

            People

              nevi_me Neville Dipale
              mqy Qingyou Meng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: