Fokko commented on issue #279:
URL: https://github.com/apache/iceberg-rust/issues/279#issuecomment-2003161284

   Thanks for reporting this @viirya. I'm seeing something similar on my local 
machine:
   
   ```
   error[E0308]: mismatched types
      --> 
/Users/fokkodriesprong/.cargo/git/checkouts/iceberg-rust-d49e83c40ef4cf40/d6703df/crates/iceberg/src/writer/file_writer/parquet_writer.rs:118:13
       |
   116 |         let writer = AsyncArrowWriter::try_new(
       |                      ------------------------- arguments to this 
function are incorrect
   117 |             inner_writer,
   118 |             self.schema.clone(),
       |             ^^^^^^^^^^^^^^^^^^^ expected 
`arrow_schema::schema::Schema`, found `arrow_schema::Schema`
       |
       = note: `arrow_schema::Schema` and `arrow_schema::schema::Schema` have 
similar names, but are actually distinct types
   note: `arrow_schema::Schema` is defined in crate `arrow_schema`
      --> 
/Users/fokkodriesprong/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-schema-51.0.0/src/schema.rs:187:1
       |
   187 | pub struct Schema {
       | ^^^^^^^^^^^^^^^^^
   note: `arrow_schema::schema::Schema` is defined in crate `arrow_schema`
      --> 
/Users/fokkodriesprong/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-schema-50.0.0/src/schema.rs:181:1
       |
   181 | pub struct Schema {
       | ^^^^^^^^^^^^^^^^^
       = note: perhaps two different versions of crate `arrow_schema` are being 
used?
   note: associated function defined here
      --> 
/Users/fokkodriesprong/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parquet-50.0.0/src/arrow/async_writer/mod.rs:95:12
       |
   95  |     pub fn try_new(
       |            ^^^^^^^
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to