Skip to content

feat(common): amp catalog provider#1849

Draft
LNSD wants to merge 2 commits intomainfrom
lnsd/feat-common-amp-async-catalog
Draft

feat(common): amp catalog provider#1849
LNSD wants to merge 2 commits intomainfrom
lnsd/feat-common-amp-async-catalog

Conversation

@LNSD
Copy link
Contributor

@LNSD LNSD commented Feb 23, 2026

Warning

🚧 This is under heavy development 🚧

@LNSD LNSD force-pushed the lnsd/feat-common-amp-async-catalog branch from d85dd84 to e6efa27 Compare February 23, 2026 16:19
@LNSD LNSD changed the title refactor(common): type pre-resolution errors for variant-based classi… feat(common): amp catalog provider Feb 23, 2026
@LNSD LNSD force-pushed the lnsd/feat-common-amp-async-catalog branch 12 times, most recently from 43ec896 to 7037315 Compare February 26, 2026 07:42
LNSD added 2 commits February 26, 2026 14:26
…ring

Establish comprehensive code guidelines by extracting principles and patterns into dedicated docs, replacing monolithic files with focused, discoverable documents.

- Add 7 principle docs (SRP, OCP, Law of Demeter, Validate at Edge, Type-Driven Design, Idempotency, IoC)
- Add 3 pattern docs (Builder, Service, Typestate) replacing `rust-service.md` and `rust-types.md`
- Rename skills for consistency: `code-pattern-discovery` → `code-discovery`, `code-pattern-fmt-check` → `docs-code-fmt-check`, `feature-fmt-check` → `docs-features-fmt-check`
- Update AGENTS.md with mandatory principles table and revised skill references
- Add meta specs for code-pattern and code-principle doc formats

Signed-off-by: Lorenzo Delgado <lorenzo@edgeandnode.com>
Restructure session construction to resolve table and function catalogs
lazily, eliminating eager registration that caused isolate-pool hangs.

- Build and operate on `SessionState` directly instead of transient `DFSessionContext`
- Add `AmpCatalogProvider` and `DatasetSchemaProvider` for async-resolved catalog entries
- Plumb real `IsolatePool` through all resolution paths to prevent dummy-pool hangs
- Flatten session error types into `DataFusionError` with `Context`-based user-input tagging
- Parallelize table and function resolution under a shared concurrency semaphore

Signed-off-by: Lorenzo Delgado <lorenzo@edgeandnode.com>
@LNSD LNSD force-pushed the lnsd/feat-common-amp-async-catalog branch from 7037315 to b195c35 Compare February 26, 2026 15:06
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