Skip to content

feat: Add loadTable Snapshots filter - #1385

Merged
c-thiel merged 5 commits into
mainfrom
ct/snapshots-filter
Sep 27, 2025
Merged

c-thiel merged 5 commits into
mainfrom
ct/snapshots-filter

Conversation

@c-thiel

@c-thiel c-thiel commented Sep 26, 2025 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features

    • Table loading now supports snapshot filtering (all vs. refs) via query; default remains all.
  • Documentation

    • Clarified namespace examples and refined wording/formatting in API docs; no behavioral changes.
  • Refactor

    • Streamlined table-loading flow to pass and respect load filters across services.
  • Tests

    • Added coverage for default, all, and refs snapshot-filtering behaviors.
  • Chores/Style

    • Added lint suppressions and minor doc formatting tweaks.

@coderabbitai

coderabbitai Bot commented Sep 26, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Adds snapshot filtering to table load flows by introducing SnapshotsQuery and LoadTableFilters, wiring the filter from API query parameters through service, catalog, and Postgres implementations, refactoring load_table into a dedicated module, and updating SQL and tests to honor the new filters.

Changes

Cohort / File(s) Summary
API: tables query & types
crates/lakekeeper/src/api/iceberg/v1/tables.rs
Adds SnapshotsQuery, LoadTableQuery, LoadTableFilters; router reads query into LoadTableFilters and passes to TablesService::load_table; tests for query deserialization and defaults.
API: small docs
crates/lakekeeper/src/api/iceberg/v1/namespace.rs
Reformatting of doc comment example only; no behavioral change.
Catalog: load_table refactor & filters
crates/lakekeeper/src/catalog/tables.rs, crates/lakekeeper/src/catalog/tables/load_table.rs
Moves load logic into new module, adds filters: LoadTableFilters to load path, extracts/relocates resolve_and_authorize_table_access to a free function, implements load_table_inner, and updates call sites/tests.
Service export / API surface
crates/lakekeeper/src/service/catalog.rs
Re-exports LoadTableFilters; updates Catalog::load_tables signature to accept &LoadTableFilters; doc formatting tweaks.
Postgres catalog plumbing
crates/lakekeeper/src/implementations/postgres/catalog.rs, crates/lakekeeper/src/implementations/postgres/namespace.rs
Thread &LoadTableFilters through Catalog implementation and tests; import the new type.
Postgres tabular SQL: snapshot filtering
crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs
Adds filters param, maps SnapshotsQuery to `'all'
AuthZ & lint/docs
crates/lakekeeper/src/service/authz/implementations/allow_all.rs, .../openfga/api.rs, crates/lakekeeper/src/service/authz/mod.rs, crates/lakekeeper/src/api/management/mod.rs
Add clippy allow attributes and minor doc wording/formatting changes; no logic changes.
Tests / call-site updates
crates/lakekeeper/src/tests/soft_deletion.rs, crates/lakekeeper/src/catalog/tables/load_table.rs (tests)
Update callers to pass LoadTableFilters::default(); add/adjust tests to cover snapshots All/Refs/default behavior and SQL outcomes.
Docs: OpenAPI formatting
docs/docs/api/management-open-api.yaml
Formatting-only changes to examples and inline code styling; no API structure changes.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Client
  participant Router as API Router
  participant Service as TablesService
  participant Catalog as Catalog Layer
  participant AuthZ as Authorizer
  participant PG as Postgres impl
  participant DB as Database

  Client->>Router: GET /.../tables/{table}?snapshots=refs|all
  Router->>Service: load_table(params, data_access, filters, ctx, meta)
  Service->>Catalog: load_table(..., filters, ...)
  Catalog->>AuthZ: resolve_and_authorize_table_access(...)
  AuthZ-->>Catalog: (tabular_details, storage_permissions)
  Catalog->>PG: load_tables(..., include_deleted, filters, tx)
  PG->>DB: SQL (WITH filtered_table_refs) using filters ('all'|'refs')
  DB-->>PG: filtered snapshots + table rows
  PG-->>Catalog: CatalogLoadTableResult
  Catalog-->>Service: LoadTableResult (metadata + storage info)
  Service-->>Router: Response 200
  Router-->>Client: JSON (metadata + filtered snapshots)

  rect rgba(230,245,255,0.5)
  note over Router,PG: New: filters captured at router → propagated → applied in SQL CTE
  end
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Poem

A rabbit scurries through snapshot rows,
Peeking at refs and where each branch goes.
Filters in paw, SQL in sight,
Fetching tables by morning light.
Thump-thump—metadata snug and tight. 🐇✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title concisely indicates the primary feature addition—adding a snapshots filter to the loadTable API—and aligns with conventional commit styling while remaining clear and specific.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ct/snapshots-filter

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 78044e1 and b58d94c.

⛔ Files ignored due to path filters (2)
  • .sqlx/query-399d2a92a76a51e2a3180e32d911c5aad85162271edab83c3d064095fc25ab0e.json is excluded by !.sqlx/**
  • .sqlx/query-7b40d84dc2cdc22a9b3b97debfcc4a4bfe807200435942ced6e57171059d02ec.json is excluded by !.sqlx/**
📒 Files selected for processing (1)
  • docs/docs/api/management-open-api.yaml (3 hunks)
✅ Files skipped from review due to trivial changes (1)
  • docs/docs/api/management-open-api.yaml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (1)

657-828: Update the .sqlx query cache after modifying this statement

Because this query changed, you need to regenerate the offline metadata (.sqlx/query-*.json). Until you run cargo sqlx prepare (with DATABASE_URL set) and commit the refreshed artifacts, the build will keep failing during SQLx offline verification.

🧹 Nitpick comments (2)
crates/lakekeeper/src/service/catalog.rs (1)

472-481: Clarify the new filters argument in the docstring

The method comment still describes the pre-change signature. Please mention how callers should expect LoadTableFilters to influence the load so the trait docs stay accurate.

 /// If a table does not exist, do not include it in the response.
+/// The `filters` argument controls which snapshots or references are materialized for each table.
 async fn load_tables<'a>(
     warehouse_id: WarehouseId,
     tables: impl IntoIterator<Item = TableId> + Send,
     include_deleted: bool,
     filters: &LoadTableFilters,
crates/lakekeeper/src/api/iceberg/v1/tables.rs (1)

230-247: Consider centralizing LoadTableQuery → LoadTableFilters conversion

Right now we build LoadTableFilters manually in the router. If additional fields land in either struct, we’ll need to remember to update each call site. A small helper keeps things DRY and future-proof. Suggested diff:

 #[derive(Debug, Clone, PartialEq, Default)]
 pub struct LoadTableFilters {
     pub snapshots: SnapshotsQuery,
 }
 
+impl From<LoadTableQuery> for LoadTableFilters {
+    fn from(query: LoadTableQuery) -> Self {
+        Self {
+            snapshots: query.snapshots.unwrap_or_default(),
+        }
+    }
+}
+
 …
-                |Path((prefix, namespace, table)): Path<(Prefix, NamespaceIdentUrl, String)>,
-                 Query(load_table_query): Query<LoadTableQuery>,
+                |Path((prefix, namespace, table)): Path<(Prefix, NamespaceIdentUrl, String)>,
+                 Query(load_table_query): Query<LoadTableQuery>,
 …
-                    let filters = LoadTableFilters {
-                        snapshots: load_table_query.snapshots.unwrap_or_default(),
-                    };
+                    let filters = load_table_query.into();
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e7b4c63 and 78044e1.

📒 Files selected for processing (13)
  • crates/lakekeeper/src/api/iceberg/v1/namespace.rs (1 hunks)
  • crates/lakekeeper/src/api/iceberg/v1/tables.rs (5 hunks)
  • crates/lakekeeper/src/api/management/mod.rs (4 hunks)
  • crates/lakekeeper/src/catalog/tables.rs (24 hunks)
  • crates/lakekeeper/src/catalog/tables/load_table.rs (1 hunks)
  • crates/lakekeeper/src/implementations/postgres/catalog.rs (2 hunks)
  • crates/lakekeeper/src/implementations/postgres/namespace.rs (2 hunks)
  • crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (9 hunks)
  • crates/lakekeeper/src/service/authz/implementations/allow_all.rs (1 hunks)
  • crates/lakekeeper/src/service/authz/implementations/openfga/api.rs (1 hunks)
  • crates/lakekeeper/src/service/authz/mod.rs (1 hunks)
  • crates/lakekeeper/src/service/catalog.rs (4 hunks)
  • crates/lakekeeper/src/tests/soft_deletion.rs (2 hunks)
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-09-08T09:10:07.658Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1328
File: crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs:103-112
Timestamp: 2025-09-08T09:10:07.658Z
Learning: The OpenFGAAuthorizer constructor in crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs should maintain backward compatibility during the transition away from nil UUIDs. Hard assertions that would panic on nil UUID input should be avoided to prevent breaking existing deployments.

Applied to files:

  • crates/lakekeeper/src/service/authz/implementations/openfga/api.rs
  • crates/lakekeeper/src/service/authz/mod.rs
📚 Learning: 2025-09-18T20:08:00.663Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1254
File: .sqlx/query-552ddb89100de8fb3c374e95c885dfd2da32c9d51d30acf2d60811edbd545dbc.json:3-3
Timestamp: 2025-09-18T20:08:00.663Z
Learning: In the lakekeeper codebase, table_id and view_id are scoped by warehouse_id through composite primary keys (warehouse_id, table_id) and (warehouse_id, view_id). This design allows ID reuse across warehouses while preventing cross-warehouse joins through proper foreign key constraints. When reviewing SQL queries, JOIN conditions like `t.warehouse_id = $1 AND t.table_id = ti.tabular_id` are correct because they ensure warehouse scoping without needing additional `ti.warehouse_id = $1` constraints.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs
🧬 Code graph analysis (7)
crates/lakekeeper/src/tests/soft_deletion.rs (1)
crates/lakekeeper/src/service/catalog.rs (1)
  • default (1117-1123)
crates/lakekeeper/src/catalog/tables/load_table.rs (2)
crates/lakekeeper/src/catalog/tables.rs (7)
  • catalog (110-110)
  • parse_location (1692-1702)
  • require_not_staged (1757-1768)
  • resolve_and_authorize_table_access (518-518)
  • resolve_and_authorize_table_access (911-966)
  • take_table_metadata (1770-1789)
  • validate_table_or_view_ident (1854-1870)
crates/lakekeeper/src/catalog/mod.rs (2)
  • maybe_get_secret (68-77)
  • require_warehouse_id (54-66)
crates/lakekeeper/src/catalog/tables.rs (3)
crates/lakekeeper/src/api/iceberg/v1/tables.rs (2)
  • load_table (104-110)
  • load_table (525-544)
crates/lakekeeper/src/catalog/tables/load_table.rs (2)
  • load_table (26-128)
  • resolve_and_authorize_table_access (57-57)
crates/lakekeeper/src/service/catalog.rs (3)
  • transaction (89-89)
  • resolve_table_ident (444-449)
  • default (1117-1123)
crates/lakekeeper/src/implementations/postgres/catalog.rs (2)
crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (2)
  • tables (652-652)
  • load_tables (645-868)
crates/lakekeeper/src/service/catalog.rs (2)
  • transaction (89-89)
  • load_tables (474-480)
crates/lakekeeper/src/service/catalog.rs (2)
crates/lakekeeper/src/api/iceberg/mod.rs (2)
  • namespace (59-59)
  • tables (60-60)
crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (1)
  • tables (652-652)
crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (2)
crates/lakekeeper/src/service/catalog.rs (3)
  • transaction (89-89)
  • load_tables (474-480)
  • default (1117-1123)
crates/lakekeeper/src/implementations/postgres/catalog.rs (1)
  • load_tables (211-219)
crates/lakekeeper/src/api/iceberg/v1/tables.rs (2)
crates/lakekeeper/src/catalog/tables.rs (3)
  • catalog (110-110)
  • load_table (497-505)
  • load_table (2140-2164)
crates/lakekeeper/src/catalog/tables/load_table.rs (1)
  • load_table (26-128)
🪛 GitHub Check: clippy
crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs

[failure] 31-31:
unused import: SnapshotsQuery


[failure] 657-657:
set DATABASE_URL to use query macros online, or run cargo sqlx prepare to update the query cache

🪛 GitHub Check: check-generated-openapi-matches
crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs

[failure] 31-31:
unused import: SnapshotsQuery


[failure] 657-657:
set DATABASE_URL to use query macros online, or run cargo sqlx prepare to update the query cache

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: test
  • GitHub Check: sqlx-check
🔇 Additional comments (13)
crates/lakekeeper/src/implementations/postgres/namespace.rs (1)

1037-1043: Great to see the tests cover the new filter plumbing.

Threading LoadTableFilters::default() through load_tables keeps the test aligned with the service signature and guards against inadvertently returning soft-deleted rows. ✅

crates/lakekeeper/src/tests/soft_deletion.rs (1)

220-231: Nice addition of the default filters in the load path.

Passing LoadTableFilters::default() here makes the test exercise the same filter contract as production, so we won’t accidentally load deleted snapshots in the future.

crates/lakekeeper/src/catalog/tables.rs (1)

1208-1216: Load path stays backward-compatible

Passing LoadTableFilters::default() through the commit path keeps metadata loads aligned with the new API without changing existing behavior—nice attention to compatibility.

crates/lakekeeper/src/catalog/tables/load_table.rs (1)

405-747: Thorough validation of snapshot filters

The test matrix covering All, Refs, empty-ref cases, and comparative behavior goes a long way toward de-risking the new snapshot filtering logic. Great job tightening coverage.

crates/lakekeeper/src/api/iceberg/v1/tables.rs (3)

43-62: SnapshotsQuery and filter structs keep the API backward-compatible

Using an enum with a sensible default plus a thin filters struct preserves existing behavior while making room for future knobs. Nice and tidy.


103-110: Trait signature change cleanly propagates the new filters

Threading LoadTableFilters through the service trait keeps the contract explicit and makes downstream implementors handle the new option intentionally. All good.


469-661: Great end-to-end coverage of the new query path

The router test ensures both default and explicit snapshots values flow through, which gives strong confidence the wiring works as intended.

crates/lakekeeper/src/service/authz/implementations/allow_all.rs (1)

1-1: Clippy lint allow aligns with crate usage

Allowing clippy::needless_for_each at crate scope is a pragmatic choice here given the deliberate use of iterator adapters over async closures below. No concerns from my side.

crates/lakekeeper/src/service/authz/implementations/openfga/api.rs (1)

1-1: Lint suppression looks appropriate

Adding the crate-level needless_for_each allowance keeps this module consistent with the async iterator patterns already present. Works for me.

crates/lakekeeper/src/api/management/mod.rs (2)

4-4: Inner lint allow matches neighboring crates

Applying the needless_for_each allowance inside the v1 module keeps Clippy noise down without affecting behavior. Looks good.


184-1072: Docstring refactor LGTM

The expanded doc comments clarify each endpoint’s behavior and error responses without touching runtime logic. Nice improvement.

crates/lakekeeper/src/api/iceberg/v1/namespace.rs (1)

57-58: Doc wording tweak improves clarity

Rephrasing the namespace listing example into a concise inline form makes the guidance easier to scan. No issues spotted.

crates/lakekeeper/src/service/authz/mod.rs (1)

185-201: Terminology polish appreciated

Switching the trait docs to “Authorization functions” aligns the wording with the surrounding modules. No functional impact, looks good.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Sep 26, 2025
@c-thiel

c-thiel commented Sep 27, 2025

Copy link
Copy Markdown
Member Author

@CodeRabbit review - approve if all resolved

@c-thiel
c-thiel enabled auto-merge (squash) September 27, 2025 08:14
@coderabbitai

coderabbitai Bot commented Sep 27, 2025

Copy link
Copy Markdown
Contributor

@c-thiel I'll review the PR changes and approve if everything looks good.

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@c-thiel
c-thiel merged commit 50b7b0f into main Sep 27, 2025
@github-actions

Copy link
Copy Markdown
Contributor

✅ PR Title Formatted Correctly

The title of this PR match the correct format. Thank you!

@c-thiel
c-thiel deleted the ct/snapshots-filter branch September 27, 2025 08:18
@c-thiel c-thiel mentioned this pull request Sep 26, 2025
mrjoe7 added a commit to mrjoe7/lakekeeper that referenced this pull request Oct 30, 2025
* feat: Publish images to Dockerhub (lakekeeper#1274)

* feat: Update UI to 0.9.0 with multi-project support (lakekeeper#1275)

* chore: release 0.9.4

Release-As: 0.9.4

* chore: release main (lakekeeper#1262)

* chore(ci): Fix Dockerhub login

* chore(docs): Improve developer guide (lakekeeper#1265)

* chore(docs): add info regarding `view_version`'s internal representation (lakekeeper#1261)

* chore(docs): Architecture clarify Secret Store (lakekeeper#1284)

* fix: Update Limes to 0.2.2 - Fixes compilation issue due to breaking `jwks_client_rs` change (lakekeeper#1282)

* fix: Update Limes to 0.2.2

* increase min rust version

* chore: release 0.9.5

Release-As: 0.9.5

* chore: release main (lakekeeper#1286)

* chore: enable changelog sections for release-please (lakekeeper#1264)

k

* fix(deps): update rust crate rand to v0.9.2 (lakekeeper#1252)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-channel to v2.5.0 (lakekeeper#1225)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency mkdocs-material to v9.6.17 (lakekeeper#1289)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate anyhow to v1.0.99 (lakekeeper#1290)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: Remove bitnami images (lakekeeper#1288)

* feat!: Move to Lakekeeper IO based on hyperscaler SDKs (lakekeeper#1285)

* chore(deps): update rust crate reqwest to v0.12.23 (lakekeeper#1294)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(docs): Improve Cloud storage test docs

* fix: accept "disable" as PG sslmode as documented (lakekeeper#1303)

* feat: Simplify task interface, re-exports, enable delete-after-commit (lakekeeper#1302)

* feat: Introduce `RequestMetadata` for Internal Principals which bypass AuthZ (lakekeeper#1306)

* chore(deps): update azure/setup-helm action to v4.3.1 (lakekeeper#1299)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(test): use nextest filterset instead of needs_env_var (lakekeeper#1304)

* chore(deps): update rust crate openssl-src to v300.5.2 (lakekeeper#1292)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-compression to v0.4.28 (lakekeeper#1311)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate thiserror to v2.0.16 (lakekeeper#1296)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Provide `ApiContext` to externally registered tasks (lakekeeper#1307)

* feat!: Simplify Task interface, extend SpecializedTask interface (lakekeeper#1310)

* feat: Improve authorizer `are_allowed_*` batch check signature (lakekeeper#1315)

* chore(authz): Enforce use of AuthZ decisions with #[must_use] (lakekeeper#1317)

* feat: Task Management APIs (lakekeeper#1316)

* chore(deps): update rust crate tracing-subscriber to v0.3.20 [security] (lakekeeper#1318)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Add `RunNow` and `RunAt` to Controls for Tasks (lakekeeper#1322)

* chore(deps): update rust crate tokio-util to v0.7.16 (lakekeeper#1313)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(docs): Improve Entra ID docs (lakekeeper#1325)

* chore(docs): Improve Upgrades & Migration docs (lakekeeper#1326)

* feat: Add tasks heartbeat with Catalog state (lakekeeper#1324)

* ci: add configuration for CodeRabbit reviews (lakekeeper#1327)

* feat: Add optional STS session-tags in S3 STS requests for ABAC authorization (lakekeeper#1230)

* feat: Random Server IDs (lakekeeper#1328)

* chore(deps): update rust crate percent-encoding to v2.3.2 (lakekeeper#1312)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(authz): Deprecate Permission Endpoints for Tables without WarehouseIDs (lakekeeper#1334)

* fix: Tasks endpoints in router (lakekeeper#1335)

* feat(ci): add nextest profile ci_no_secrets for external PRs (lakekeeper#1333)

* chore(deps): update rust crate chrono to v0.4.42 (lakekeeper#1331)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: Pin examples duckdb version to 1.3 (lakekeeper#1343)

* feat!: Require warehouse_id when checking permissions on views or tables via ID (lakekeeper#1340)

* fix: migrate away from bitnami in unittest.yml (lakekeeper#1344)

* chore: Remove coderabitt config

* fix(docs): Fix inconsistent URL format in README (lakekeeper#1345)

Co-authored-by: Christian <[email protected]>

* feat: Remove serde_yaml & serde_yml (lakekeeper#1341)

* feat!: add `warehouse_id` to PKs of all `table_*` and `view_*` tables (lakekeeper#1254)

* feat: Minor namespace join performance improvements

* fix: Warehouse permissions are directly used for task retrieval & control (lakekeeper#1347)

* fix: Potential Race Condition when undropping Tabulars (lakekeeper#1342)

* fix: table rename authz and error handling (lakekeeper#1346)

Co-authored-by: Andre Luis Anastacio <[email protected]>

* chore(deps): update rust crate google-cloud-auth to v1.1.2 (lakekeeper#1337)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update rust crate time to v0.3.44 (lakekeeper#1349)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency mkdocs-material to v9.6.20 (lakekeeper#1309)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* feat: Set ServerID during migration (lakekeeper#1348)

* chore(deps): Remove utoipa fork (lakekeeper#1352)

* chore(deps): update rust crate serde_with to v3.14.1 (lakekeeper#1351)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate url to v2.5.7 (lakekeeper#1354)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-compression to v0.4.30 (lakekeeper#1323)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update rust crate serde_json to v1.0.145 (lakekeeper#1250)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update strum monorepo to v0.27.2 (lakekeeper#1251)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update serde monorepo to v1.0.226 (lakekeeper#1355)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update rust crate clap to v4.5.48 (lakekeeper#1356)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Add Entity Names to Tasks (lakekeeper#1353)

* fix: case insensitivity of catalog endpoints (lakekeeper#1338)

* fix: Improve delete_warehouse error message for active tasks

* chore(deps): update rust crate tempfile to v3.22.0 (lakekeeper#1359)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update rust crate axum-prometheus to 0.9.0 (lakekeeper#1358)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: PgSslMode not supported error string

* feat(authz)!: add OpenFGA schema v4 and v3->v4 migration (lakekeeper#1314)

Co-authored-by: Christian <[email protected]>
Co-authored-by: Christian Thiel <[email protected]>

* chore(deps): update rust crate uuid to v1.18.1 (lakekeeper#1362)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency markdown-grid-tables to v0.6.0 (lakekeeper#1357)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate anyhow to v1.0.100 (lakekeeper#1350)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: clippy

* chore(deps): update rust crate moka to v0.12.11 (lakekeeper#1365)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate tempfile to v3.23.0 (lakekeeper#1367)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-nats to 0.43.0 (lakekeeper#1366)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-node action to v5 (lakekeeper#1371)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/checkout action to v5 (lakekeeper#1369)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-python action to v6 (lakekeeper#1372)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: V3 support (lakekeeper#1364)

* chore: Set Get Task Permission to "CanGetMetadata" (lakekeeper#1376)

* chore(deps): update dependency node to v22 (lakekeeper#1373)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(authz)!: extend OpenFGA tabular entities with WarehouseId (lakekeeper#1329)


---------

Co-authored-by: Christian <[email protected]>
Co-authored-by: Christian Thiel <[email protected]>

* feat: Add support for tasks affecting views (lakekeeper#1378)

* feat(authz): Add specific Task Actions (lakekeeper#1379)

* chore(tests): Test with Iceberg 1.9.2 & 1.10.0 (lakekeeper#1267)

* feat: Enrich task metadata with concrete tabular type (lakekeeper#1383)

* feat: Add loadTable Snapshots filter (lakekeeper#1385)

* feat: add endpoint for fuzzy search of tabulars (lakekeeper#1387)

* feat: Update UI to 0.10.0 (lakekeeper#1390)

* feat(ui): Update UI to 0.10.1

* chore: Use lakekeeper re-exports in bin (lakekeeper#1391)

* fix(tabular-search): distance and docs for `searchterm is uuid` (lakekeeper#1393)

* chore(examples): Idempotent bucket creation in minimal example (lakekeeper#1386)

In the case where you already have a bucket created, like the "examples" bucket, I ran into an issue where the createbuckets service fails, and this prevents lakekeeper from starting back up.

This fix adds a simple minio flag to ignore buckets that already exist, making things even more user friendly

* feat: Make number of workers spawned for Expiration & Purge configurable (lakekeeper#1395)

* chore: release main (lakekeeper#1295)

* chore: added gif to readme (lakekeeper#1396)

* chore: remove unneded `#[allow(dead_code)]` (lakekeeper#1399)

* fix: Use FnOnce for queue & service registration

* Revert "fix: Use FnOnce for queue & service registration"

This reverts commit 47b03a0.

* chore(docs): Add 0.10 docs

* perf(db): remove `join namespace` from `active_tabulars` view (lakekeeper#1401)

* doc(db): how to connect to db and inspect schema (lakekeeper#1402)

* feat: implement `OpenFgaEntity` for `ServerId` (lakekeeper#1394)

* impl OpenFgaEntity
* Use the implementation

* fix: Use FnOnce for queue & service registration (lakekeeper#1404)

* chore(deps): update dependency mkdocs-material to v9.6.21 (lakekeeper#1406)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Expose client-managed X-Iceberg-Access-Delegation (lakekeeper#1407)

* fix: Use higher consistency for some OpenFGA queries (lakekeeper#1408)

* feat: Improve Kubernetes Auth docs (lakekeeper#1415)

* chore: release 0.10.1

Release-As: 0.10.1

* fix: Endpoint stats for Project Endpoints (lakekeeper#1412)

* feat: Add create table guard to cleanup location on Failure (lakekeeper#1418)

* chore: Generate ID types with Macro (lakekeeper#1419)

* chore: Re-Export Tokio from lakekeeper-io create (lakekeeper#1420)

* fix: Add support for `write.metadata.metrics.` Table Properties (lakekeeper#1422)

* fix: Update UI to 0.10.2 (lakekeeper#1423)

* chore: release main (lakekeeper#1403)

* fix: Parse empty ProjectID headers as None (lakekeeper#1424)

* chore: release 0.10.2

Release-As: 0.10.2

* chore: release main (lakekeeper#1425)

* feat: Add `debug_migrate_before_serve` env var (lakekeeper#1426)

* feat: Move OpenFGA Authorizer to separate crate (lakekeeper#1421)

* chore(renovate): Group dependencies

* chore(renovate): ignore additional deps

* chore: Rename src/service -> src/server, trait Catalog -> CatalogStore (lakekeeper#1428)

* feat(examples): add k8s iceberg sink connector (avro) (lakekeeper#1336)


---------

Co-authored-by: Christian <[email protected]>

* chore(ci): Fix release please (lakekeeper#1433)

* feat: Expose License Information via API (lakekeeper#1432)

* fix(deps): update all non-major dependencies (lakekeeper#1429)

* chore(ci): Remove mgmt API version update via release-please

* chore: Restructure catalog_store into multiple modules (lakekeeper#1434)

* feat: Validate Downscoping works on Warehouse creation (lakekeeper#1437)

* chore(ci): Fix release please

* docs: Add info about installing sqlx to developer-guide.md (lakekeeper#1438)

* docs: Update developer-guide.md (lakekeeper#1439)

* chore(deps): update all non-major dependencies (lakekeeper#1436)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: Better normalization for ARNs in S3 Profile (lakekeeper#1441)

* chore(deps): update all non-major dependencies (lakekeeper#1442)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(main): release 0.10.3 (lakekeeper#1427)

* fix: Release Please CI outputs

* fix(ci): Revert 0.10.3 release

* chore(main): release 0.10.3 (lakekeeper#1446)

* feat: Introduce CatalogWarehouseOps & CatalogNamespaceOps abstractions (lakekeeper#1440)

* feat: Allow x-user-agent header (lakekeeper#1453)

* feat: Table & View Ops Abstractions, Improved Error Handling (lakekeeper#1454)

* fix: CORS allow access delegation & etag headers (lakekeeper#1455)

* fix: Headers should be lowercase (lakekeeper#1457)

* chore(tests): Add trino information_schema.tables test (lakekeeper#1456)

* chore: Introduce open-api feature to gate utoipa and swagger (lakekeeper#1458)

* chore: Release As 0.11

* fix: Debug assertion table identifier mismatch for signer (lakekeeper#1460)

* feat: Caching Short-Term-Credentials (STC) (lakekeeper#1459)

* feat: Warehouse Cache (lakekeeper#1462)

* chore(deps): update actions/setup-node action to v6 (lakekeeper#1443)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Version based Warehouse Cache (lakekeeper#1465)

* feat: AuthZ Server and Project Ops (lakekeeper#1471)

* chore(deps): update github artifact actions (lakekeeper#1461)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: Rename release branch pattern to rel-*

* feat: Catalog returns full Namespace Hierarchy for nested Namespaces (lakekeeper#1472)

---------

Co-authored-by: Christian <[email protected]>
Co-authored-by: Christian Thiel <[email protected]>
Co-authored-by: Dao Thanh Tung <[email protected]>
Co-authored-by: Moritz Zielke <[email protected]>
Co-authored-by: Baptiste Gouhoury <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dolan Antenucci <[email protected]>
Co-authored-by: Anatoly Popov <[email protected]>
Co-authored-by: Andre Luis Anastacio <[email protected]>
Co-authored-by: Scott Haines <[email protected]>
Co-authored-by: Viktor Kessler <[email protected]>
Co-authored-by: Yohan Valencia <[email protected]>
Co-authored-by: Paul Roman <[email protected]>
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.

1 participant