This repo is a companion to this post, which can we worked though using the Jupyter notebook iceberg-file-registration.ipynb.
To work though the Notebook demo, you would need the following installed:
- Docker/Podman Compose
- Python 3.12 or higher
- uv Python project manager (optional)
- Minio client (optional)
There is a docker compose file in this repo, that will start the Postgres and Minio instances, and also run an Minio client container to create the warehouse bucket in the Minio instance. Here I will be using Podman:
podman compose upThe actual data for Minio and Postgres will be stored in the local-data folder, in the respective folders.
Python 3.12 and uv package manage was used for this demo. So the dependencies are setup in the pyproject.toml and uv.lock file. To get started using uv, first create the python virtual environment and install the required dependencies (has to be run outside this notebook):
uv syncThen start the Jupyter Lab server using this virtual environment:
uv run --with jupyter jupyter lab