Get started

Quickstart

Go from signing in to reading your first table, end to end.

Sign in, find a real table in the Data Catalog, and read rows from it — first in the catalog, then from a notebook or in the SQL Editor. New to warehouses, namespaces and Iceberg tables? Start with core concepts.

What you need

A Databaas login and access to at least one table. For the last step, the permission differs: Use notebooks for the notebook route, or Use SQL editor for the SQL route.

Sign in

Go to https://<your-databaas-domain> and sign in. The portal tour explains what you see.

Every new person gets the Default app role and the Default data role, so you can usually open some apps and see some data from your first sign-in. What those roles include is set by your administrators.

An app or a table you need is missing?

The portal shows only the apps you can open, and the catalog shows only the data you may see. If you can’t find what you need, ask your administrator. See how access works.

Find a table

Open Data Catalog. The tree on the left lists the warehouses you can see. Expand into namespaces and tables, or type in Find a table… to filter. Select a table; the breadcrumb shows its identity — warehouse, namespace, table name — which the routes below need.

If the catalog says No rights yet, you can’t see any warehouse yet: ask your administrator, then select Check again.

Look before you query

The table opens on Overview: its description and columns. Preview, Properties, Permissions and History tabs sit beside it. Preview shows the first 20 rows of the current snapshot, read with your own grants — a sample, not an analysis. If you may see the table but not read its data, the preview says so instead. If the preview looks right, you have your table.

Read it

Read from a notebook (Python) or the SQL Editor (SQL); both return the same rows.

In a notebook

Requires the Use notebooks permission. Open Notebooks (the first launch can take a minute while your server starts) and create a Python notebook. databaas-utils fetches a token for you, so the catalog is scoped to your grants:

Load a table with pyiceberg
from databaas_utils.user import get_catalog

catalog = get_catalog()
table = catalog.load_table("<namespace>.<table>")
print(table.scan(limit=10).to_pandas())

Use the breadcrumb values; for a table outside the default warehouse, pass get_catalog(warehouse="<warehouse>"). A grant error means that table isn’t one of your grants; an authentication error (“…log out of Jupyter and log back in…”) means your sign-in aged out — sign out of Notebooks and back in. To narrow a scan and query it with DuckDB, see querying data.

In the SQL Editor

Requires the Use SQL editor permission. Open SQL Editor, type a query, and select Run (or press ⌘+Enter, Ctrl+Enter on Windows and Linux):

First rows, in SQL
SELECT * FROM iceberg.<namespace>.<table> LIMIT 10

The query runs as you, so a table you could not preview will not return rows here either. See the SQL Editor.

Where to go next