mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-07 07:55:13 +02:00
* 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
19 lines
322 B
YAML
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: []
|