Overview
What Standard is#
A Standard dataset has two parts that you write in the dataset designer.
| Part | Editor tab | Language | Runs |
|---|---|---|---|
| Source query | Query | SQL (or connector query) | At the source |
| Prep code | Prep | Python with pandas | In the query engine |
When you press Run, or when a chart, dashboard or API client reads the saved dataset, the engine does the following.
- Checks that you hold Execute permission on the dataset.
- Substitutes server-side placeholders such as
${USR}into the query. - Applies any structured filters to the query.
- Looks for a cached answer for the same query and the same access policy.
- Otherwise runs the query on the connection and fetches the page of rows.
- Runs your Prep code, if it is more than a pass-through.
- Returns one page of rows with a schema, and records source lineage.
Because the engine is shared and stateless there is nothing to warm up. A Standard run has no compute size. Startup cost is the connection round trip plus the query itself.
How it runs#
When you run a Standard dataset, Groundzero looks for a cached answer, then runs your query on the connection, applies your Prep code to the fetched rows and returns a page of rows with its schema.
Key properties:
- One connection per dataset. The designer offers Standard only when zero or one connection is selected, and only when that connection is a SQL source or the Groundzero lakehouse.
- Server-side paging. For SQL connectors the page window is pushed into the source query, so a page view does not fetch the whole table.
- Shared caching. Identical requests are answered from a cache that is checked against the caller's access policy on every hit.
- Lakehouse reads. Groundzero lakehouse (Iceberg) tables are read directly from object storage.
Versions#
| Component | Version | Used for |
|---|---|---|
| Python | 3.12 | Prep code |
| DuckDB | 1.5.5 | Lakehouse (Iceberg) reads |
| pandas | Installed, version not pinned | Prep code |
| Python (pandas) job runtime | Python 3.12, NumPy 2.3.5, pandas 2.x | Jobs |
Choose the Standard runtime#
Choose Standard when:
- the data lives in one SQL-capable connection and the source can do the heavy work (joins, filters, aggregation);
- you want a dataset for charts, dashboards, pivots, exports or API reads;
- the result is small enough to page through, and any reshaping is a few lines of pandas;
- you want an instant first result with no session start.
Choose another runtime when:
| You need | Use |
|---|---|
| Joins across several connections | DuckDB or Spark |
| Writes to the lakehouse or other sinks | DuckDB or Spark job |
| Datasets larger than memory, wide shuffles | Spark |
| Machine learning with scikit-learn, PyTorch or TensorFlow | A DuckDB or Spark ML variant |
| Extra Python packages | A custom runtime |
The Python (pandas) job runtime#
Jobs and code datasets can also run on a pandas runtime. Groundzero starts the runtime you select with the compute size you choose and runs your job code there.
No Groundzero Python helper package is provided for it; connect to sources with the drivers that come with the runtime (see Installed packages). Use the runtime picker to see which pandas runtimes are available to you.
The base runtime and custom runtimes#
Every Groundzero runtime starts from the same base: Python 3.12 with Jupyter, MLflow, the AWS command line and common database client libraries. The Spark and DuckDB runtimes add their engines on top. A custom runtime adds your own pip packages on top of any of those runtimes, see the how-to guide Install extra packages.