Timelaketimelake
DocsBenchmarksRoadmapSpecContribute
Apache 2.0 ·
Roadmap

DoneIn progressPlanned

Tables and storage

Done:1. Iceberg tablesDone:2. CommitsDone:3. Object-store catalogIn progress:4. Time-series table contractIn progress:5. File layout and encodingsIn progress:6. Last-value indexDone:7. One-request table state and version checksDone:8. Table format versions and upgradesDone:9. SettingsPlanned:10. Supplemental timestampsPlanned:47. Table and file formats behind boundaries

Writing

Done:11. AppendsDone:12. Late data and dedup on readDone:13. Writes from WebAssemblyPlanned:14. Hot tier and seconds-fresh readsPlanned:15. BackfillIn progress:16. Import and migrationPlanned:17. DeletesPlanned:18. GDPR erasure

Maintenance

Done:19. CompactionIn progress:20. Maintenance runs, retention and expiry

Reading

In progress:21. Timelake readerDone:22. Block cacheDone:23. Filter pushdownDone:24. Pruning with long IN listsDone:25. Newest-first scansDone:26. Scans in series orderDone:27. Materialized rollups

SQL functions

In progress:28. Function libraryDone:29. Time buckets and gap fillingDone:30. Signal aggregatesDone:31. Downsampling with m4

Integrations

Planned:32. REST catalogPlanned:33. DuckDB extensionPlanned:34. Snowflake connectionPlanned:35. Multitenancy

Services

Planned:36. Ingestion and rulesPlanned:37. Data to eventsPlanned:38. Static read modelsPlanned:39. Computed metricsPlanned:40. Agent access with permission setsPlanned:41. Device syncPlanned:42. Edge gatewayPlanned:43. Server mode

Benchmarks

In progress:44. Benchmark harness: timebenchIn progress:45. Industrial IoT benchmarkPlanned:46. Agent benchmark

Background

ArchitectureDeployment and cost modelEmbedded engine: DataFusionLandscape and positioningLicensePurpose and requirementsReleases
TimelaketimelakeThe open time-series lakehouse.
v0 · Apache 2.0 · Contribute · GitHubBuilt on Apache Arrow, Apache DataFusion, Apache Parquet, and Apache Iceberg.
DocsBenchmarksRoadmapSpecContribute

Spec 47 · Tables and storage

Table and file formats behind boundaries

PlannedUpdated 2026-10-21View on GitHub
Versions
Not released yet
Roadmap
Any table format, any file format
Related
1. Iceberg tables, 2. Commits, 7. One-request table state and version checks, 9. Settings, 12. Late data and dedup on read, 13. Writes from WebAssembly, 21. Timelake reader, 24. Pruning with long IN lists

Summary

The engine, the WASM reader and writer, and maintenance reach tables and data files through two boundaries from lakekit: a common table view (Iceberg today) and a data file format (Parquet today). What makes Timelake a time-series engine stays here: the head, the last-value index, dedup on read, newest-first scans, rollups, and the SQL functions. Iceberg and Parquet stay the defaults; another format is a choice a table makes, Vortex first once Iceberg lists it.

Design

The two boundaries are lakekit's:

  • Table formats: the common table view (lakekit spec 5).
    • It holds a table's schema, properties and snapshots, and its live files with their statistics, partition values, and commit rank.
    • It loads, creates, commits (append, replace, delete) and expires.
  • Data file formats: FileFormat (lakekit spec 6).
    • Writers return bytes, statistics and a footer.
    • Readers take a footer and a selection inside the file, ask for byte ranges, and decode them.

What moves out of Timelake:

  • The engine's use of iceberg-rust:

    • the adapter for iceberg-rust's file I/O in storage.rs;
    • loading and creating tables;
    • the metadata builder in commit.rs;
    • snapshot expiry, branches and tags.

    iceberg-rust stays only as the reference implementation in interop tests (#189).

  • timelake-format's Parquet code: the file writer (file.rs), footers (footer.rs), and statistics move to lakekit-parquet (#190).

What changes in what stays:

  • The head (spec 7) stores each file's footer as opaque bytes with its format's name. This changes the head's format, so it needs a head version bump (spec 8).
  • Scans (spec 21):
    • The provider picks each file's scan by the format its manifest entry records.
    • Parquet's page access plans and the long IN-list selections (spec 24) become Parquet's own selection; another format brings its own pruning.
    • The scans come from lakekit's DataFusion providers (lakekit#11) once they exist, and from Timelake's provider until then.
  • Dedup on read (spec 12) orders copies of a key by the view's commit rank. In Iceberg that is the data sequence number, as today.
  • The block cache (spec 22) tells which files never change from the table's file list, not from the .parquet extension.
  • The last-value index (spec 6) stays a Parquet file whatever the data format, so DuckDB and others can read it.

Settings (spec 9):

  • data-format chooses the format of new files: parquet (the default), and later vortex.
    • Changing it doesn't rewrite anything at once; compaction rewrites older files as it would anyway.
    • A table may hold files of several formats meanwhile.
  • The Parquet settings keep their names and become Parquet's options: compression, row-group-rows, float-encoding, and data-page-rows.
  • A table's table format is fixed when the table is created: Iceberg, the only one for now.

Other engines. A table of Iceberg and Parquet files stays readable by DuckDB, Spark, Trino and every other Iceberg reader.

  • Vortex: until Iceberg's spec lists it (apache/iceberg#15915, apache/iceberg-rust#2835), only engines that know Vortex can read Vortex files. So vortex comes off by default, with that said in the docs (#191).
  • Table formats other than Iceberg (Delta Lake, DuckLake) follow lakekit's specs for them; each gets a spec here before Timelake writes it.

Order:

  1. lakekit 0.1 is published and #186 is merged.
  2. loko#2 gives Send futures, for the engine's multi-threaded executor.
  3. Arrow moves to the newest DataFusion's major, as lakekit's D17 has it (#193). DataFusion 56 also brings a native ASOF JOIN, after which Timelake's own (spec 28) can go.
  4. The table view: lakekit#13, here #189.
  5. File formats: lakekit#14, here #190.
  6. Vortex: lakekit#15, here #191.

Decisions

IDDecisionStatus
D26The engine, the WASM reader and writer, and maintenance reach tables and data files only through lakekit's common table view and FileFormat; iceberg-rust remains only as the reference in interop tests (supersedes D13 once built)Accepted
D27Iceberg and Parquet stay the defaults, and the last-value index stays Parquet whatever the data format, so other engines keep reading every table that doesn't opt in (D1 holds)Accepted
D28A table's data format is a setting (data-format) that applies to new files; existing files keep theirs until compaction rewrites them, so a table may hold files of several formatsProposed

Open questions and issues

  • #189 Engine: tables through lakekit's common table view instead of iceberg-rust
  • #190 Data files through a FileFormat trait, Parquet first
  • #191 Vortex data files, once Iceberg lists the format
  • #193 Follow the newest DataFusion's Arrow; on DataFusion 56, replace our ASOF JOIN with DataFusion's

History

  • 2026-10-21: proposed, so that the engine assumes neither Iceberg nor Parquet, and the format code is shared with lakeglass through lakekit.