Skip to content

How Skipprd works ​

You describe a pipeline in skippr.yml: one source, and optionally one destination. Then you discover the shape of the data, review the schema, sync the rows, and query them. Optional transform.compute (CREATE VIEW / CREATE TABLE AS SELECT, SDL, or type: py path + handler) declares compute that Skipprd journals in Skippr Store. After data has landed, skipprd migrate applies ALTER TABLE without stopping the pipeline. A compute name whose canonical hash changed requires ALTER COMPUTE (View / keyed / windowed also accept ALTER TABLE sugar; Latest and stream-table joins are DROP then CREATE; type: py is DROP COMPUTE <name>, then the next sync admits the files). Every batch is written to Skipprd's write-ahead log (WAL) first. A crash retries from the WAL. Whether a retry can duplicate a row depends on the destination. See Exactly-once delivery.

text
                ┌──────────────────────── skipprd ────────────────────────┐
  data source ──▶  compute ──▶ commit WAL ──▶ destination (Iceberg / warehouse)
                │           │                    │
                │           ▼                    ▼
                │     Skippr Store          deadletter sink
                │     catalog, offsets,     (optional)
                │     schema, journal,
                │     stream_state
                │           │
                │           └── skipprd query pins Iceberg ∪ WAL
                └──────────────────────────────────────────────────────────┘

The pipeline lifecycle ​

1. Discover ​

bash
skipprd discover --pipeline bikehire --log

Skipprd connects to the source, samples records, and infers field names, nesting, and types. It saves the result as the pipeline's schema. Discover never loads rows into your destination, so it is safe to run against production sources. See Schema discovery and evolution.

2. Review the schema ​

bash
skipprd schema --pipeline bikehire

Prints the discovered contract: fields, types, nesting, and namespaces (one namespace becomes one table). Check it before the first sync so table and column names in your warehouse are what you expect.

3. Sync ​

bash
skipprd sync --pipeline bikehire --once --log

For each pass, Skipprd:

  1. Reads a batch from the source.
  2. Commits the batch to the WAL. From this moment the batch is durable.
  3. Records the source position it has reached, so the next run resumes there.
  4. Writes committed batches to your destination and updates destination tables when the schema changes.
  5. Deletes WAL data your destination has acknowledged.

--once runs one pass and exits, which suits cron, CI, and orchestrators. Without it, skipprd sync keeps running and starts a new pass every sync_frequency_seconds (default 900).

4. Query ​

Query the tables in your warehouse with its own SQL client. For Iceberg destinations (SkipprLake, Athena Iceberg, DuckDB), skipprd query on the machine that holds DATA_DIR runs one SQL statement against committed Iceberg union live WAL. You do not pick a live view or a history view. STREAM is that same SQL, tailed as new rows arrive. Skippr Store pins which slices that statement may see, including from a second reader process while ingest holds the writer. See Stream SQL and Streamhouse.

5. Migrate ​

bash
skipprd migrate --pipeline bikehire

When a table already has data and you need to rename, merge, drop, or widen a column, put SQL in migrations/ next to skippr.yml (or run skipprd query --sql "ALTER TABLE …"). Skipprd rewrites the live WAL, applies destination DDL, then appends the ALTER log, and records the file in the Skippr Store journal so a retry is idempotent. You do not stop the pipeline. DISABLE PIPELINE still freezes ingest; it is not required to alter. See ALTER operations and skipprd migrate.

What the WAL guarantees ​

The WAL is the durable buffer between your source and your destination. Skipprd commits each batch there before it writes anywhere else, and only advances the source position after the commit.

This matters to you in three ways:

  • Crashes are safe. If the process dies, including kill -9, the next run recovers committed batches from the WAL and resumes the source from the last committed position. Re-run the same command; there is no manual recovery step.
  • Retries do not duplicate rows in destinations that support exactly-once writes. Skipprd identifies each write so a retried write is not applied twice. Which destinations qualify is listed in Exactly-once delivery.
  • A failed run says so. If Skipprd cannot finish writing committed batches before it exits, the run exits non-zero. The next run picks up from the WAL.

The guarantee starts when a batch is committed. Data a source has handed over but Skipprd has not yet committed is covered only if the source can replay it, which pull sources such as files, databases, and APIs do.

With a destination ​

Set data_sink on the pipeline and Skipprd writes committed batches to that destination, then reclaims the WAL space. The WAL stays small: it holds only data that has not landed yet.

Without a destination ​

data_sink is optional. Without it, the WAL is the dataset: Skipprd keeps every batch and never reclaims it. Use this to explore a source before choosing a warehouse. Read the data with skipprd query or Python Session.query() and Session.df().

yaml
pipelines:
  bikehire:
    data_source: data_sources.sample

Because nothing is reclaimed, watch disk use on long-running pipelines without a destination.

Where state lives ​

Skipprd keeps these kinds of state. Know where each one lives before you run a pipeline in production.

StateDefault locationWhat to do
skippr.ymlYour project directoryKeep it in version control. Secrets stay in the environment as ${NAME} references.
WAL payloadsDATA_DIR (default ./data) .seg files, or S3 when WAL_STORAGE=s3Put DATA_DIR on a persistent disk. S3 WAL still needs that directory for Skippr Store.
Skippr Store{DATA_DIR}/skippr-store (fjall)Catalog, offsets, shredded schema, DDL journal, materialised aggregates. One writer. See Skippr Store.
Connector cache~/.skippr/runtime_pluginsNothing. Skipprd downloads a connector again if the cache is empty.

Set the data directory with the DATA_DIR environment variable or per pipeline with data_dir in skippr.yml.

Keep DATA_DIR

With the default local WAL, DATA_DIR holds payloads that may not have reached your destination yet, Skippr Store, and the position Skipprd resumes from. If you delete it or start on a fresh disk, Skipprd loses those batches and reads the source again from the beginning, which can duplicate rows in append-only destinations.

WAL payloads MAY live in S3 (WAL_STORAGE=s3). Skippr Store stays on a durable DATA_DIR. Hosts without that directory are unsupported. See WAL and buffering and Skippr Store.

Skipprd pauses reading when the disk holding DATA_DIR has less than 5 GB free or is 90% full, and resumes once usage drops back to 80%. If the 5 GB floor is larger than the free space at 90% full (a 20 GB volume leaves only 2 GB), Skipprd tunes the floor down and warns so pause/resume cannot lock on that remaining-disk limit. A pipeline that stalls on a busy host is often waiting for disk space.

How connectors are installed ​

Each source and destination is a connector Skipprd downloads for you. The first time a pipeline uses one, Skipprd:

  1. Looks up the connector catalog published with that Skipprd release at install.skippr.io.
  2. Downloads it into the connector cache (~/.skippr/runtime_plugins).
  3. Reuses that copy on later runs of the same version.

The machine needs outbound HTTPS to install.skippr.io. To put the cache on a persistent volume, set SKIPPR_RUNTIME_PLUGIN_DIR to that path.

By default Skipprd uses the connectors released with that engine version. To pin a connector, add version to its entry in skippr.yml:

yaml
data_sources:
  sample:
    S3:
      version: 1.2.3
      s3_bucket: skippr-public-sample-data
      s3_prefix: bike-hire

Next steps ​