Xuanwo commented on issue #495:
URL: https://github.com/apache/iceberg-rust/issues/495#issuecomment-2256378008

   > Me and @ZENOTME did integration tests in icelake before, and I have to say 
that without sql engine support, it's painful to maintain those tests.
   
   I agree that we need a SQL engine to make testing easier.
   
   However, maintaining basic unit tests based on `fs` or `memory` should be 
straightforward, right? We don't need separate test modules; just implement 
them as unit tests in the REST catalog. For example, it could be as simple as...
   
   ```rust
   // catalog / file io setup, balbalba
   let table = balabala();
   
   let scan = table.scan().select_all().build().unwrap();
   let batch_stream = scan.to_arrow().await.unwrap();
   
   dbg!(scan);
   
   let batches: Vec<_> = batch_stream.try_collect().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

Reply via email to