Fokko commented on issue #293:
URL: https://github.com/apache/iceberg-python/issues/293#issuecomment-1903462763

   Forwarding my comment here as well: 
https://github.com/apache/iceberg-python/pull/289#issuecomment-1903442816
   
   Maybe we should add this to the documentation of the SqlCatalog as well: 
   
   ```python
   def catalog_memory(warehouse: Path) -> Generator[SqlCatalog, None, None]:
       props = {
           "uri": "sqlite+pysqlite:///:memory:",
           "warehouse": f"file://{warehouse}",
       }
   ```
   
   
https://github.com/apache/iceberg-python/blob/1befad70bb72e649ec07431a43972aa2cd0cc0da/tests/catalog/test_sql.py#L69-L73
   
   The `warehouse` directory is where the files are stored.


-- 
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