Skippr is now Manifold.

Skip to content

ManifoldLake ​

ManifoldLake is Mfd's Iceberg destination. Files go to a warehouse URI you name. Catalog pointers live in a DynamoDB table you name (catalog_table). That lake catalog is not Manifold Store: never set mfd.store.type to select it. The destination publishes the Iceberg table on the first compact.

Before you begin ​

  • A warehouse URI: s3://bucket/path/ or file:///absolute/path/ for local files.
  • A catalog table name, and credentials for that backend.
  • Unique (catalog_table, table_namespace) per ManifoldLake destination. Two pipelines must not share that pair.
bash
export AWS_ACCESS_KEY_ID="..."
export AWS_SECRET_ACCESS_KEY="..."
export AWS_DEFAULT_REGION="us-east-1"

Configure ​

python
from mfd import Config, DataSinkManifoldLake, Pipeline

cfg = Config.discover()
lake = cfg.data_sink(
    "lake",
    DataSinkManifoldLake(
        warehouse="s3://my-iceberg-warehouse/",
        catalog_table="my-iceberg-catalog",
        region="us-east-1",
        table_namespace="bronze",
    ),
)
cfg.pipeline("reports", Pipeline(data_source=cfg.get_data_source("sample"), data_sink=lake))
cfg.save()
bash
mfd connect data-sink manifoldlake \
  --pipeline reports \
  --name lake \
  --warehouse s3://my-iceberg-warehouse/ \
  --catalog-table my-iceberg-catalog \
  --region us-east-1 \
  --table-namespace bronze
yaml
data_sinks:
  lake:
    ManifoldLake:
      warehouse: s3://my-iceberg-warehouse/
      catalog_table: my-iceberg-catalog
      region: us-east-1
      table_namespace: bronze

Local files:

yaml
object_store:
  type: file
# warehouse must be file:///...

Cloudflare R2 (or another path-style S3 store):

yaml
object_store:
  type: r2
  endpoint: ${OBJECTS_S3_ENDPOINT}
  region: auto
  access_key_id: ${OBJECTS_ACCESS_KEY_ID}
  secret_access_key: ${OBJECTS_SECRET_ACCESS_KEY}
  path_style: true

Options ​

KeyTypeRequired/DefaultDescription
warehouseURIRequiredIceberg root (s3://… or file:///…)
catalog_tablestringRequiredDynamoDB table for Iceberg catalog pointers. Not Manifold Store.
regionstringNot setRegion for the catalog backend
object_storeobjects3File store: file, s3, or r2
table_namespacestringdefaultIceberg namespace

Table files live at {warehouse}/{table_namespace}/{table_name}.

How data lands ​

Supports append, merge_by_key, replace_partition, and replace_table. Mfd expires old snapshots (recent commits are kept), rewrites small files, and folds delete files. Query results stay the same; do not use old snapshots as time travel.

With transform.batch_time_fields and transform.batch_time_unit, Mfd adds one hidden Iceberg time transform (year, month, day, or hour) on the event-time column, plus identity partitions from batch_partition_fields. It does not write year/month/day int columns unless transform.identity_date_columns is true. Then it materializes UTC calendar ints and identity-partitions them at that depth (day → year,month,day) so queries can use WHERE year = 2026 AND month = 11. Do not use Iceberg’s year() transform as a column named year (that stores years since 1970). minute is rejected (Iceberg has no minute()). POSIX millis and micros in numeric columns resolve as event time, then the transform runs on the timestamp. Deadletter Iceberg tables stay unpartitioned. Default filter is WHERE event_ts >= TIMESTAMP '2026-11-07 00:00:00' AND event_ts < TIMESTAMP '2026-11-08 00:00:00'. Recreate an existing Iceberg table if the live spec does not match (hidden transform vs identity calendar ints). Snapshot present plus spec mismatch fail-closes; drop the table first.

mfd query returns the current table (Iceberg plus uncompacted WAL, CDC applied).

Troubleshooting ​

SymptomFix
Catalog permission errorsGrant read/write on catalog_table
Two pipelines fight over tablesGive each destination its own table_namespace
file:// warehouse failsSet object_store.type: file and use an absolute file:/// URI

Next steps ​