mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
Overlay sources now have two distinct collections: `columns:` for computed columns (requiring `expr` + `type`) and `column_overrides:` for metadata patches to inherited manifest columns. Composing or loading an overlay that mixes the two — or references an unknown column — fails with a typed error. Introduce `ResolvedSemanticLayerSource` / `resolvedSourceSchema` / `toResolvedWire` as the strict shape sent to the Python engine, and add a schema contract test that diffs Zod against the Pydantic JSON schema dumped by `python -m semantic_layer dump-schema`. `SourceDefinition` is now `extra="forbid"` on the Python side. `loadAllSources` surfaces per-file load errors instead of swallowing them, so validation/query paths can report manifest shard parse failures. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_aggregate_locality.py | ||
| test_cli.py | ||
| test_computed_columns.py | ||
| test_corner_case_regressions.py | ||
| test_coverage_gaps.py | ||
| test_duplicate_check.py | ||
| test_engine.py | ||
| test_generator.py | ||
| test_graph.py | ||
| test_loader.py | ||
| test_manifest.py | ||
| test_models.py | ||
| test_parser.py | ||
| test_planner.py | ||
| test_segments.py | ||
| test_snowflake.py | ||
| test_sql_join_coverage.py | ||
| test_table_identifier_parser.py | ||
| test_tpch.py | ||
| test_validator.py | ||