ZENOTME opened a new pull request, #635: URL: https://github.com/apache/iceberg-rust/pull/635
The following assert will fail because the memory storage will create a new operator every time. To maintain the context, we should create the operator at init and clone it later. ``` #[tokio::test] async fn test_memory_io() { let io = FileIOBuilder::new("memory").build().unwrap(); //let io = create_local_file_io(); let path = format!( "{}/1.txt", TempDir::new().unwrap().path().to_str().unwrap() ); let output_file = io .new_output(path.clone()) .unwrap(); output_file.write("test".into()).await.unwrap(); assert!(io.is_exist(path.clone()).await.unwrap()); } ``` -- 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