blackmwk commented on code in PR #3101:
URL: https://github.com/apache/iceberg-rust/pull/3101#discussion_r3888127632


##########
crates/iceberg/src/catalog/memory/catalog.rs:
##########
@@ -156,9 +152,13 @@ impl MemoryCatalog {
         let factory = storage_factory.unwrap_or_else(|| 
Arc::new(MemoryStorageFactory));
 
         Ok(Self {
+            name,
+            properties,
+            file_io: FileIOBuilder::new(factory)
+                .with_props(props.clone())

Review Comment:
   I don't want this clone, let's remove properties field in MemoryCatalog and 
pass it to FileIOBuilder.



##########
crates/iceberg/src/catalog/memory/catalog.rs:
##########
@@ -458,6 +468,31 @@ pub(crate) mod tests {
         temp_dir.path().to_str().unwrap().to_string()
     }
 
+    #[test]
+    fn test_catalog_properties() {

Review Comment:
   I want to see ut with default warehouse path.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to