ktx/examples/local-warehouse/semantic-layer/warehouse/orders.yaml
Andrey Avtomonov 97da9919e9
refactor: remove legacy compatibility paths (#64)
* refactor: remove legacy compatibility paths

* fix: support legacy metabase native queries

* test: use canonical semantic layer descriptions

* Rename CLI description

* Recover setup scan from SQLite ABI mismatch

* Remove legacy product name from CLI help
2026-05-13 15:55:00 +02:00

19 lines
322 B
YAML

name: orders
table: public.orders
descriptions:
user: Orders placed through the storefront.
grain:
- id
columns:
- name: id
type: number
- name: status
type: string
- name: amount
type: number
measures:
- name: order_count
expr: count(*)
- name: total_revenue
expr: sum(amount)
joins: []