Skip to content

Conversation

@zfarrell
Copy link
Contributor

@zfarrell zfarrell commented Dec 12, 2025

  • Replace the DuckDB metadata catalog with a new SQLx-powered abstraction that supports both SQLite and Postgres, including a shared CatalogStore, migration traits, and concrete managers. SQLite is the new default metadata database.
  • Update engine, config handling, and default configs/Docker setup to instantiate the appropriate catalog backend (SQLite by default) and ensure cache/state paths are created consistently.
  • Consolidate catalog tests into a single suite covering both backends with testcontainers, and update the HTTP/integration tests to exercise the new engine wiring.

Resolves #11

@zfarrell zfarrell marked this pull request as ready for review December 13, 2025 20:55
@zfarrell zfarrell merged commit e6e4fbf into main Dec 13, 2025
6 checks passed
zfarrell added a commit that referenced this pull request Jan 6, 2026
* initial pass at sqlite manager implementation

* initial pass at sqlx manager implementation (broken)

* Revert "initial pass at sqlx manager implementation (broken)"

This reverts commit c98ffea.

* try to unify postgres/sqlite managers

* centralize migrations

* consolidate into a single version

* fix tests

* unify catalog manager test suite

* remove duckdb catalog manager

* fix issue where cache directory is not created under metadata dir

* remove macros feature

* add documentation

* clippy

* simplify migrations to use async trait

* move block_on to manager

* re-name CatalogStore to CatalogBackend

* cargo fmt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace duckdb with sqlite for metadata catalog

2 participants