apache / iceberg-rust

Apache Iceberg
https://rust.iceberg.apache.org/
Apache License 2.0
673 stars 159 forks source link

OpenDAL rename of `is_exist` to `exists` has broken the build #679

Closed sdd closed 4 weeks ago

sdd commented 4 weeks ago

Submitted a fix in https://github.com/apache/iceberg-rust/pull/680

See https://github.com/apache/iceberg-rust/actions/runs/11504666519/job/32024660546?pr=652

error: use of deprecated method `opendal::Operator::is_exist`: rename to `exists` for consistence with `std::fs::exists`
   --> crates/iceberg/src/io/file_io.rs:100:15
    |
100 |         Ok(op.is_exist(relative_path).await?)
    |               ^^^^^^^^
    |
    = note: `-D deprecated` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(deprecated)]`

error: use of deprecated method `opendal::Operator::is_exist`: rename to `exists` for consistence with `std::fs::exists`
   --> crates/iceberg/src/io/file_io.rs:246:14
    |
246 |             .is_exist(&self.path[self.relative_path_pos..])
    |              ^^^^^^^^

error: use of deprecated method `opendal::Operator::is_exist`: rename to `exists` for consistence with `std::fs::exists`
   --> crates/iceberg/src/io/file_io.rs:328:14
    |
328 |             .is_exist(&self.path[self.relative_path_pos..])
    |              ^^^^^^^^