IceGraph
IceGraph is an interactive Apache Iceberg debugging and visualization platform that provides a hierarchical, graph-based view of Iceberg metadata. It maps the DNA of your production tables - helping engineers debug complex table states, trace metadata evolution, and understand Iceberg internals visually.
Product page: https://yanivzalach.github.io/IceGraph-Site/
Look at Live Demo! https://yanivzalach.github.io/IceGraph/
Opinionated Design: IceGraph is built exclusively for Spark Connect backends.
Iceberg Format Versions: IceGraph supports Iceberg format versions 1, 2, and 3.
🛠 Features
- Production-Safe & Read-Only — Built for production Iceberg tables without modifying data or metadata.
- Graph-Based Visualization — Explore metadata, snapshots, manifests, data files, and delete files through an interactive graph UI. For all your table branches.
- Snapshot & Metadata Lineage — Trace table evolution, commits, schema changes, and snapshot history over time.
- Partition & File Browser — Navigate partitions and files through a familiar hierarchical view.
- Debugging & Learning Tool — Designed for both production debugging and understanding Iceberg internals.
- Python Client & CLI — Script access to tables, snapshots, and the metadata graph via
icegraph-client. See the Python Client & CLI section of the docs for details.
Recommended: In production, use a user with read-only permissions for the Spark Connect server, for extra peace of mind.
Quick Start Using Docker
The easiest way to run IceGraph is via DockerHub
Spark connect 3.5.4
docker run -e SPARK_REMOTE=sc://<spark-connect-ip>:15002 -p 5050:5050 yanivzalach/icegraph:latest
Other Spark Connect versions
Clone the repo, update the Spark Connect version in backend/pyproject.toml, then build from the project root:
docker build -t icegraph .
Then run with the same command:
docker run -e SPARK_REMOTE=sc://<spark-connect-ip>:15002 -p 5050:5050 icegraph
Deploying Multiple Pods
Graph jobs are tracked in each pod's memory, so if you run more than one replica, your load balancer/ingress must route all requests from a given client to the same pod (session affinity / sticky sessions) for the duration of a job, otherwise the polling requests can land on a pod that never received it.
Logs
IceGraph's own logs are JSON lines on stderr.
{"time": "2026-11-02T10:15:30.123456+00:00", "level": "INFO", "logger": "IceGraph", "message": "[db.table] CollectSnapshots.collect took 0.55s", "user_id": "3f2a..."}
Count distinct user_id values to estimate users.
Metrics
Prometheus metrics are served at /metrics. Disable with METRICS_ENABLED=false.
icegraph_operation_duration_seconds: operation durations.
icegraph_graph_computations_total: graphs computed.
icegraph_cache_reads_total: server cache hits.
icegraph_assistant_questions_total: questions submitted to the AI assistant.
AI Assistant
IceGraph can show an Ask AI button on the snapshot selection page and the table pages that answers questions about the table. It is off by default and turns on when both AI_API_BASE_URL and AI_MODEL are set. Any OpenAI-compatible chat completions API works (OpenAI, Azure OpenAI, vLLM, Ollama, LiteLLM, and others). The API URL, key, and model stay on the server and are never sent to the browser.
The AI_* settings, their defaults, and their descriptions are in the Env class. How the assistant works is described in docs/ai-assistant.md.
docker run -e SPARK_REMOTE=sc://<spark-connect-ip>:15002 \
-e AI_API_BASE_URL=https://api.openai.com/v1 -e AI_MODEL=<model> -e AI_API_KEY=<key> \
-p 5050:5050 yanivzalach/icegraph:latest
The user chooses which parts of the table metadata loaded in the browser are sent with each question. That context can include file paths, table properties, and column lower and upper bounds, which are real data values, so point IceGraph only at a model you are allowed to send them to. IceGraph has no authentication: anyone who can reach it can use the configured model, within the AI_MAX_CONCURRENT_REQUESTS and AI_MAX_CONTEXT_CHARACTERS limits.
Start Using Source Code (Contributor to IceGraph)
Before contributing, read ARCHITECTURE_PHILOSOPHY.md — the design pillars IceGraph is built on.
Work is tracked in GitHub Issues and organized on the IceGraph Roadmap board.