Xuanwo commented on code in PR #481: URL: https://github.com/apache/iceberg-rust/pull/481#discussion_r1691497746
########## crates/iceberg/src/io/storage.rs: ########## @@ -79,6 +87,16 @@ impl Storage { ) -> crate::Result<(Operator, &'a str)> { let path = path.as_ref(); match self { + #[cfg(feature = "storage-memory")] + Storage::Memory { config } => { + let op = config.build(path)?; + + if let Some(stripped) = path.strip_prefix("file:/") { + Ok((op, stripped)) Review Comment: Oh, it's a typo. We should trim `memory:/` instead. -- 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