Skip to content

Commit

Permalink
chore: bump opendal to v0.45.1 for connector/icelake (#15920)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangjinwu authored Mar 26, 2024
1 parent 388cae1 commit f292e7b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 35 deletions.
38 changes: 4 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/connector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ mysql_common = { version = "0.31", default-features = false, features = [
] }
nexmark = { version = "0.2", features = ["serde"] }
num-bigint = "0.4"
opendal = "0.44"
opendal = "0.45"
parking_lot = "0.12"
paste = "1"
prometheus = { version = "0.13", features = ["process"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

use std::future::IntoFuture;

use async_trait::async_trait;
use futures::TryStreamExt;
use futures_async_stream::try_stream;
Expand Down Expand Up @@ -126,6 +128,7 @@ impl<Src: OpendalSource> OpendalReader<Src> {
let reader = op
.reader_with(&object_name)
.range(split.offset as u64..)
.into_future() // Unlike `rustc`, `try_stream` seems require manual `into_future`.
.await?;

let stream_reader = StreamReader::new(
Expand Down

0 comments on commit f292e7b

Please sign in to comment.