Where icelens works

icelens reads any Iceberg catalog PyIceberg can reach. This page says which have been tested, how to connect to each, and what to do when something goes wrong.

At a glance

Where your tables liveStatus
A local SQL catalog, and icelens's own sandboxesWorks. Tested on every change.
Iceberg REST: LakekeeperWorks. Tested live in CI.
Apache PolarisWorks. Tested live in CI.
Google BigLake (the Lakehouse runtime catalog)Works. Run against a real Google Cloud project.
Snowflake (Open Catalog or Horizon)Should work. Not yet run against a real account.
Databricks Unity CatalogShould work on AWS and Google Cloud. Not yet run against a real workspace.
AWS Glue, S3 Tables, Hive, DynamoDBShould work with PyIceberg's extra for each (see Install). Untested.
NessieUntested.
Anything on Azure storage (abfss://)Not yet. The metadata panes fail as well as the rows.
Local catalogs on WindowsNot yet. PyIceberg cannot open a file:///C:/… path.

"Should work" means the code follows the vendor's documentation and passes its tests, but has not been run against the real service. If you try one, please open an issue saying what happened.

Connecting

Each line is a complete command. Put the same settings in ~/.pyiceberg.yaml to save typing them; the guide's Finding your catalog shows how.

Apache Polaris, and Snowflake Open Catalog

icelens --uri https://HOST/api/catalog --warehouse CATALOG \
        -p credential=CLIENT_ID:CLIENT_SECRET -p scope=PRINCIPAL_ROLE:ALL

Snowflake Horizon

icelens --uri https://ORG-ACCOUNT.snowflakecomputing.com/polaris/api/catalog \
        --warehouse DATABASE \
        -p credential=$SNOWFLAKE_PAT -p scope=session:role:ROLE

Databricks Unity Catalog

# a personal access token
icelens --uri https://WORKSPACE/api/2.1/unity-catalog/iceberg-rest \
        --warehouse UC_CATALOG -p token=$DATABRICKS_PAT

# a service principal
icelens --uri https://WORKSPACE/api/2.1/unity-catalog/iceberg-rest \
        --warehouse UC_CATALOG -p credential=SP_ID:SP_SECRET \
        -p oauth2-server-uri=https://WORKSPACE/oidc/v1/token -p scope=all-apis

Google BigLake

icelens --uri https://biglake.googleapis.com/iceberg/v1/restcatalog \
        --warehouse bl://projects/PROJECT_ID/catalogs/CATALOG_ID \
        -p token=$(gcloud auth print-access-token) \
        -p header.x-goog-user-project=PROJECT_ID

When something goes wrong

Start with the status bar: it says how rows are being read, and why.

You seeWhat it meansWhat to do
Please specify a warehouseThe catalog serves more than one.Pass --warehouse NAME, or pick from the list icelens offers.
Panes fail after about an hourYour token expired. A fixed token is never refreshed.Press ctrl+o and connect again. Logging in with credential=CLIENT_ID:SECRET refreshes by itself.
attach refused, not authenticatedDuckDB could not log in, though PyIceberg could.Nothing: rows come another way, and the status bar names it.
Metadata opens, rows fail with 403Your login may see the table but not its files.Ask for data access on the table (Polaris TABLE_READ_DATA, Databricks EXTERNAL USE SCHEMA).
rows via pyiceberg (duckdb could not read it: …)DuckDB could not reach the files, or cannot read one of the table's column types (a timestamptz_ns column, which Trino writes). PyIceberg read them instead.Nothing: the rows are right, just slower.
SQL over pyiceberg scansDuckDB's iceberg extension is not installed, so SQL runs over copies of each table. Copies are refused above 5 million rows.Run python3 scripts/setup.py to install it.
catalog unreachable … ProxyError from --v3, --serve or --rest on this machineAn HTTP proxy is set (HTTP_PROXY), and the catalog icelens runs on 127.0.0.1 is being asked for through it.Set NO_PROXY=127.0.0.1,localhost.
An abfss:// path in an errorAzure storage is not supported yet.No workaround yet.
Not implemented Error: Geography support in the Data paneDuckDB cannot read a table with a geography column yet.The other panes work; there is no way to see its rows yet.

DuckDB

To try icelens with another engine, icelens --demo --v3 --serve starts a throwaway catalog and prints what PyIceberg and DuckDB need to connect to it.

Rendered from docs/PLATFORMS.md.